Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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],
|