Shima111 commited on
Commit
54e1876
·
1 Parent(s): 2c71409
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def greet(name):
9
 
10
 
11
 
12
- url = "http://127.0.0.1:5001/samaibackend/us-central1/test"
13
- payload = {"ima": "cat"}
14
  headers = {"Content-Type": "application/json"}
15
 
16
  response = requests.post(url, data=json.dumps(payload), headers=headers)
 
9
 
10
 
11
 
12
+ url = "http://127.0.0.1:5001/samaibackend/us-central1/test/image"
13
+ payload = {"image": "cat"}
14
  headers = {"Content-Type": "application/json"}
15
 
16
  response = requests.post(url, data=json.dumps(payload), headers=headers)