aibmedia commited on
Commit
a06fbde
·
verified ·
1 Parent(s): b9c4581

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -5
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
- return response.json()+ res
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():