Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def tts(text: str):
|
|
| 22 |
return result
|
| 23 |
except Exception as e:
|
| 24 |
print(e)
|
| 25 |
-
return
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=tts,
|
|
|
|
| 22 |
return result
|
| 23 |
except Exception as e:
|
| 24 |
print(e)
|
| 25 |
+
return gr.Error(e)
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=tts,
|