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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def tts(text: str):
23
  return result
24
  except Exception as e:
25
  print(e)
26
- raise gr.Error("Cannot divide by zero!")
27
 
28
  iface = gr.Interface(
29
  fn=tts,
 
23
  return result
24
  except Exception as e:
25
  print(e)
26
+ raise gr.Error(e)
27
 
28
  iface = gr.Interface(
29
  fn=tts,