Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def call_summary(p):
|
|
27 |
return "Working hard on it..."
|
28 |
|
29 |
def call_examine(p):
|
30 |
-
file_url =
|
31 |
data = {
|
32 |
"bot_id": "7448073169124573218",
|
33 |
"user_id": "111",
|
@@ -44,10 +44,10 @@ def call_examine(p):
|
|
44 |
|
45 |
print(data)
|
46 |
|
47 |
-
|
48 |
|
49 |
-
|
50 |
-
|
51 |
return "Working hard on it..."
|
52 |
|
53 |
|
|
|
27 |
return "Working hard on it..."
|
28 |
|
29 |
def call_examine(p):
|
30 |
+
file_url = p
|
31 |
data = {
|
32 |
"bot_id": "7448073169124573218",
|
33 |
"user_id": "111",
|
|
|
44 |
|
45 |
print(data)
|
46 |
|
47 |
+
res = requests.post(URL, headers=HEADERS, data=data)
|
48 |
|
49 |
+
print(res.json())
|
50 |
+
print(res.json()['code'])
|
51 |
return "Working hard on it..."
|
52 |
|
53 |
|