update connection info
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ async def summarize(text, retries=3):
|
|
39 |
await asyncio.sleep(1)
|
40 |
continue
|
41 |
else:
|
42 |
-
return
|
|
|
43 |
|
44 |
# define gradio interface
|
45 |
iface = gr.Interface(
|
|
|
39 |
await asyncio.sleep(1)
|
40 |
continue
|
41 |
else:
|
42 |
+
return "Oops! 🙈 It looks like those mischievous monkeys🐒 might be swinging around the server, causing a bit of chaos with the cables. Please try it again!"
|
43 |
+
# return f"Error: {e.status}, message='{e.message}'. Please try again 🔁"
|
44 |
|
45 |
# define gradio interface
|
46 |
iface = gr.Interface(
|