Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|