DawnC commited on
Commit
bc22f79
·
1 Parent(s): 89ef005

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -500,6 +500,7 @@ async def predict(image):
500
  error_msg = f"An error occurred: {str(e)}\n\nTraceback:\n{traceback.format_exc()}"
501
  print(error_msg)
502
  return error_msg, None, gr.update(visible=False, choices=[]), None
 
503
 
504
  def show_details_html(choice, previous_output, initial_state):
505
  if not choice:
 
500
  error_msg = f"An error occurred: {str(e)}\n\nTraceback:\n{traceback.format_exc()}"
501
  print(error_msg)
502
  return error_msg, None, gr.update(visible=False, choices=[]), None
503
+
504
 
505
  def show_details_html(choice, previous_output, initial_state):
506
  if not choice: