xp3857 commited on
Commit
7a306db
1 Parent(s): bda4a03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -45,13 +45,12 @@ def ac():
45
  ts = stamp + 6
46
  ti = time.time()
47
  if ti > ts and stamp != 0:
48
- t=gr.update(value=1)
49
  print("Cancelling")
 
50
  else:
51
- t=gr.update(value=0)
52
  print("Passing")
53
- pass
54
- return t
55
  def im_fn(put,fac="",fac_c=None,h=None):
56
  if h == o:
57
  if int(fac_c)==1:
 
45
  ts = stamp + 6
46
  ti = time.time()
47
  if ti > ts and stamp != 0:
 
48
  print("Cancelling")
49
+ return gr.update(value=1)
50
  else:
 
51
  print("Passing")
52
+ return gr.update(value=0)
53
+
54
  def im_fn(put,fac="",fac_c=None,h=None):
55
  if h == o:
56
  if int(fac_c)==1: