123
Browse files
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":
|
| 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)
|