Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def tts(text):
|
|
| 20 |
try:
|
| 21 |
result = tts_client.predict(
|
| 22 |
text=text,
|
| 23 |
-
audio_reference=handle_file('https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav),
|
| 24 |
api_name="/predict"
|
| 25 |
)
|
| 26 |
print(f"TTS result: {result}") # Debug print to see what's returned
|
|
|
|
| 20 |
try:
|
| 21 |
result = tts_client.predict(
|
| 22 |
text=text,
|
| 23 |
+
audio_reference=handle_file('https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav'),
|
| 24 |
api_name="/predict"
|
| 25 |
)
|
| 26 |
print(f"TTS result: {result}") # Debug print to see what's returned
|