Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -31,13 +31,10 @@ def command_app():
|
|
31 |
"sentences": [
|
32 |
"That is a happy dog",
|
33 |
"That is a very happy person",
|
34 |
-
"Today is a sunny day"
|
35 |
-
]
|
36 |
-
},
|
37 |
-
}
|
38 |
|
39 |
response = requests.post(API_URL, headers=headers, json=payload)
|
40 |
-
|
41 |
|
42 |
@app.route('/')
|
43 |
def command_server():
|
|
|
31 |
"sentences": [
|
32 |
"That is a happy dog",
|
33 |
"That is a very happy person",
|
34 |
+
"Today is a sunny day"]},}
|
|
|
|
|
|
|
35 |
|
36 |
response = requests.post(API_URL, headers=headers, json=payload)
|
37 |
+
return response.json() + res
|
38 |
|
39 |
@app.route('/')
|
40 |
def command_server():
|