Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,8 @@ def run_dif(out_prompt):
|
|
42 |
out_box.append(out)
|
43 |
|
44 |
yield out_box,out_html
|
45 |
-
except Exception:
|
|
|
46 |
yield out_box,out_html
|
47 |
with gr.Blocks() as app:
|
48 |
inp=gr.Textbox()
|
|
|
42 |
out_box.append(out)
|
43 |
|
44 |
yield out_box,out_html
|
45 |
+
except Exception as e:
|
46 |
+
out_html+=e
|
47 |
yield out_box,out_html
|
48 |
with gr.Blocks() as app:
|
49 |
inp=gr.Textbox()
|