ldhldh commited on
Commit
e3904de
Β·
1 Parent(s): 9e2ae41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,6 +41,7 @@ def chat():
41
  if not q.empty():
42
  arr = q.get()
43
  start = time.time()
 
44
  result = gradio_client.predict(
45
  arr[0],
46
  # str representing input in 'User input' Textbox component
@@ -55,7 +56,7 @@ def chat():
55
 
56
  sec = (end - start)
57
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
58
- print("응닡 μ‹œκ°„ : " + result_list[0] +"\nx:"+ arr[0] +"\nid:"+ arr[1] +"\ncdata:" + arr[2] +"\nresult:"+ result + "\ncollback_url : " + arr[3])
59
 
60
 
61
  th_a = Thread(target = chat)
 
41
  if not q.empty():
42
  arr = q.get()
43
  start = time.time()
44
+ print("응닡 μ‹œμž‘\nx:"+ arr[0] +"\nid:"+ arr[1] +"\ncdata:" + arr[2] + "\ncollback_url : " + arr[3])
45
  result = gradio_client.predict(
46
  arr[0],
47
  # str representing input in 'User input' Textbox component
 
56
 
57
  sec = (end - start)
58
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
59
+ print("응닡 μ‹œκ°„ : " + result_list[0] +"\nresult:"+ result)
60
 
61
 
62
  th_a = Thread(target = chat)