Karzan commited on
Commit
3b97565
·
verified ·
1 Parent(s): adafcbb

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: str):
20
  text=text,
21
  api_name="/predict"
22
  )
23
- return result
24
  except Exception as e:
25
  print(e)
26
  raise gr.Error(e)
 
20
  text=text,
21
  api_name="/predict"
22
  )
23
+ return result[0]
24
  except Exception as e:
25
  print(e)
26
  raise gr.Error(e)