ldhldh commited on
Commit
9292eb5
β€’
1 Parent(s): 36a4af1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,6 @@ def chat():
43
  global _id
44
  global _cdata
45
  if _do:
46
- _do = False
47
  start = time.time()
48
  result = gradio_client.predict(
49
  _x,
@@ -60,6 +59,7 @@ def chat():
60
  sec = (end - start)
61
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
62
  print("응닡 μ‹œκ°„ : " + result_list[0] +"\nx:"+ x +"\nid:"+ id +"\ncdata:" + cdata +"\nresult:"+ result)
 
63
  return result
64
 
65
  th_a = Thread(target = chat)
 
43
  global _id
44
  global _cdata
45
  if _do:
 
46
  start = time.time()
47
  result = gradio_client.predict(
48
  _x,
 
59
  sec = (end - start)
60
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
61
  print("응닡 μ‹œκ°„ : " + result_list[0] +"\nx:"+ x +"\nid:"+ id +"\ncdata:" + cdata +"\nresult:"+ result)
62
+ _do = False
63
  return result
64
 
65
  th_a = Thread(target = chat)