yaya-sy commited on
Commit
71e6356
Β·
verified Β·
1 Parent(s): 225a9e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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