Update app.py
Browse files
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 |
-
|
54 |
-
|
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:
|