Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ async def call_modal_backend_sync(problem_input: str, complexity: int):
|
|
59 |
yield (error_message, format_chat_history_for_gradio([]), "", "", "")
|
60 |
|
61 |
# Fallback yield in case of unexpected termination before return
|
62 |
-
yield ("An unexpected error occurred and processing stopped.", format_chat_history_for_gradio([]), "", "", "")
|
63 |
|
64 |
|
65 |
with gr.Blocks() as demo:
|
|
|
59 |
yield (error_message, format_chat_history_for_gradio([]), "", "", "")
|
60 |
|
61 |
# Fallback yield in case of unexpected termination before return
|
62 |
+
# yield ("An unexpected error occurred and processing stopped.", format_chat_history_for_gradio([]), "", "", "")
|
63 |
|
64 |
|
65 |
with gr.Blocks() as demo:
|