Monimoy commited on
Commit
a6fd536
·
verified ·
1 Parent(s): a53c151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -124,7 +124,8 @@ def predict(image, question):
124
 
125
  except Exception as e:
126
  traceback.print_exc()
127
- return f"An error occurred: {str(e)}"
 
128
 
129
  # 4. Gradio Interface
130
  iface = gr.Interface(
 
124
 
125
  except Exception as e:
126
  traceback.print_exc()
127
+ #return f"An error occurred: {str(e)}"
128
+ return f"An error occurred: {traceback.format_exc()}"
129
 
130
  # 4. Gradio Interface
131
  iface = gr.Interface(