Rahmat82 commited on
Commit
09d0224
·
verified ·
1 Parent(s): 4e18cee

update connection info

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ async def summarize(text, retries=3):
39
  await asyncio.sleep(1)
40
  continue
41
  else:
42
- return f"Error: {e.status}, message='{e.message}'. Please try again 🔁"
 
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(