Spaces:
Restarting
Restarting
FauziIsyrinApridal
commited on
Commit
·
0ef32f0
1
Parent(s):
777edce
hapsu controls
Browse files- app/chat.py +1 -1
app/chat.py
CHANGED
@@ -86,7 +86,7 @@ def text_to_speech(text):
|
|
86 |
audio_base64 = base64.b64encode(audio_file.read()).decode()
|
87 |
|
88 |
return f"""
|
89 |
-
<audio autoplay
|
90 |
<source src="data:audio/mp3;base64,{audio_base64}" type="audio/mp3">
|
91 |
</audio>
|
92 |
"""
|
|
|
86 |
audio_base64 = base64.b64encode(audio_file.read()).decode()
|
87 |
|
88 |
return f"""
|
89 |
+
<audio autoplay>
|
90 |
<source src="data:audio/mp3;base64,{audio_base64}" type="audio/mp3">
|
91 |
</audio>
|
92 |
"""
|