Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -417,7 +417,7 @@ def save_to_database(measurements, image, user_height_cm, user_id):
|
|
| 417 |
|
| 418 |
try:
|
| 419 |
response = requests.post(
|
| 420 |
-
f"https://
|
| 421 |
json=payload
|
| 422 |
)
|
| 423 |
if response.status_code == 201:
|
|
|
|
| 417 |
|
| 418 |
try:
|
| 419 |
response = requests.post(
|
| 420 |
+
f"https://9d68-210-212-162-140.ngrok-free.app/upload/{user_id}",
|
| 421 |
json=payload
|
| 422 |
)
|
| 423 |
if response.status_code == 201:
|