xp3857 commited on
Commit
0c3fab1
·
1 Parent(s): ce5cc4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -54,6 +54,7 @@ def ac():
54
  print("Passing")
55
  pass
56
  return t
 
57
  def im_fn(put,fac="",val=None,h=None):
58
  if h == o:
59
  if int(val) != 0:
@@ -62,7 +63,13 @@ def ac():
62
  put = f"{put}{fac}"
63
  fac = f"{fac} "
64
  print (rn)
65
- return model(put),fac,1
 
 
 
 
 
 
66
  elif int(val)==0:
67
  return None,"",0
68
  elif h != o:
 
54
  print("Passing")
55
  pass
56
  return t
57
+ c1=0
58
  def im_fn(put,fac="",val=None,h=None):
59
  if h == o:
60
  if int(val) != 0:
 
63
  put = f"{put}{fac}"
64
  fac = f"{fac} "
65
  print (rn)
66
+ c1+=1
67
+ if c1<4
68
+ vv=1
69
+ elif c1>=4:
70
+ vv=0
71
+ c1=0
72
+ return model(put),fac,vv
73
  elif int(val)==0:
74
  return None,"",0
75
  elif h != o: