Omnibus commited on
Commit
6642a1d
1 Parent(s): b4cc1c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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()