hadadrjt commited on
Commit
33f6345
·
1 Parent(s): 0e93d21

ai: Simplify HTML audio tag.

Browse files
Files changed (1) hide show
  1. src/client/responses/audio.py +2 -2
src/client/responses/audio.py CHANGED
@@ -46,8 +46,8 @@ async def audio_integration(
46
  "role": "system",
47
  "content": (
48
  "Audio generation result:\n\n" + audio_generation_content + "\n\n\n"
49
- "Show the audio using the following HTML audio tag format, where '{audio_link}' is the URL of the generated audio:\n\n"
50
- "<audio controls src='{audio_link}' style='width:100%; max-width:100%;'></audio>\n\n"
51
  "Please replace '{audio_link}' with the actual audio URL provided in the context.\n\n"
52
  "Then, describe the generated audio based on the above information.\n\n\n"
53
  "Use the same language as the previous user input or user request.\n"
 
46
  "role": "system",
47
  "content": (
48
  "Audio generation result:\n\n" + audio_generation_content + "\n\n\n"
49
+ "Show and render the audio using the following HTML audio tag format, where '{audio_link}' is the URL of the generated audio:\n\n"
50
+ "<audio src='{audio_link}' controls style='width: 100%;'></audio>\n\n"
51
  "Please replace '{audio_link}' with the actual audio URL provided in the context.\n\n"
52
  "Then, describe the generated audio based on the above information.\n\n\n"
53
  "Use the same language as the previous user input or user request.\n"