xp3857 commited on
Commit
3f2ed18
1 Parent(s): 0dd3b7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -39,7 +39,7 @@ def ac():
39
  stamp = time.time()
40
  return gr.update(value=stamp),gr.update(value=0)
41
  def end(stamp):
42
- ts = stamp + 6
43
  ti = time.time()
44
  if ti > ts and stamp != 0:
45
  print("Cancelling")
@@ -50,8 +50,6 @@ def ac():
50
 
51
  def im_fn(put,fac="",h=None):
52
  if h == o:
53
- if fac==" ":
54
- fac=""
55
  put = f"{put}{fac}"
56
  fac = f"{fac} "
57
  rn = random.randint(0, 19)
 
39
  stamp = time.time()
40
  return gr.update(value=stamp),gr.update(value=0)
41
  def end(stamp):
42
+ ts = stamp + 60
43
  ti = time.time()
44
  if ti > ts and stamp != 0:
45
  print("Cancelling")
 
50
 
51
  def im_fn(put,fac="",h=None):
52
  if h == o:
 
 
53
  put = f"{put}{fac}"
54
  fac = f"{fac} "
55
  rn = random.randint(0, 19)