ldhldh commited on
Commit
7a95186
β€’
1 Parent(s): 8f1da7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -57,7 +57,10 @@ def chat():
57
  sec = (end - start)
58
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
59
  print("응닡 μ‹œκ°„ : " + result_list[0] +"\nresult:"+ result)
60
-
 
 
 
61
  headers = {'Content-Type': 'application/json'}
62
  body = {
63
  "url" : arr[3],
 
57
  sec = (end - start)
58
  result_list = str(datetime.timedelta(seconds=sec)).split(".")
59
  print("응닡 μ‹œκ°„ : " + result_list[0] +"\nresult:"+ result)
60
+
61
+ if result.split(":")[0]=="상담원":
62
+ result = result.split(":")[1]
63
+
64
  headers = {'Content-Type': 'application/json'}
65
  body = {
66
  "url" : arr[3],