Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -310,7 +310,7 @@ def save_qa_with_audio(question, answer, voice=None):
|
|
| 310 |
md_file = create_file(question, answer, "md")
|
| 311 |
|
| 312 |
# Generate audio file
|
| 313 |
-
audio_text = f"
|
| 314 |
audio_file = speak_with_edge_tts(
|
| 315 |
audio_text,
|
| 316 |
voice=voice,
|
|
|
|
| 310 |
md_file = create_file(question, answer, "md")
|
| 311 |
|
| 312 |
# Generate audio file
|
| 313 |
+
audio_text = f"{question}\n\nAnswer: {answer}"
|
| 314 |
audio_file = speak_with_edge_tts(
|
| 315 |
audio_text,
|
| 316 |
voice=voice,
|