xp3857 commited on
Commit
111fda0
1 Parent(s): a60273f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def ac():
157
  if ti > ts and stamp != 0:
158
  print("Cancelling")
159
  #return gr.update(value=1),gr.HTML.update(f"{t_out}", visible=True)
160
- return gr.update(value=1),gr.update(open=True,visible=True)
161
 
162
  else:
163
  print("Passing")
 
157
  if ti > ts and stamp != 0:
158
  print("Cancelling")
159
  #return gr.update(value=1),gr.HTML.update(f"{t_out}", visible=True)
160
+ return gr.update(value=1),gr.Accordion.update(label="Timeout",open=True,visible=True)
161
 
162
  else:
163
  print("Passing")