Shima111 commited on
Commit
2912d3c
·
1 Parent(s): d25001b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def greet(name):
10
 
11
 
12
  url = "https://us-central1-samaibackend.cloudfunctions.net/test/image"
13
- payload = {"image": "cat"}
14
  headers = {"Content-Type": "application/json"}
15
 
16
  response = requests.post(url, data=json.dumps(payload), headers=headers)
 
10
 
11
 
12
  url = "https://us-central1-samaibackend.cloudfunctions.net/test/image"
13
+ payload = {"image": name}
14
  headers = {"Content-Type": "application/json"}
15
 
16
  response = requests.post(url, data=json.dumps(payload), headers=headers)