Karzan commited on
Commit
e9af981
·
verified ·
1 Parent(s): 2f32e34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ def tts(text: str):
21
  )
22
  return result
23
  except Exception as e:
24
- return str(e)
 
25
 
26
  iface = gr.Interface(
27
  fn=tts,
 
21
  )
22
  return result
23
  except Exception as e:
24
+ print(e)
25
+ return None
26
 
27
  iface = gr.Interface(
28
  fn=tts,