Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -278,7 +278,7 @@ def send_to_backend(image_buffer, user_id):
|
|
| 278 |
files = {'file': ('generated_image.png', file_bytes, 'image/png')}
|
| 279 |
|
| 280 |
# Update with your actual ngrok or server URL
|
| 281 |
-
url = f"https://
|
| 282 |
|
| 283 |
response = requests.post(url, files=files)
|
| 284 |
|
|
|
|
| 278 |
files = {'file': ('generated_image.png', file_bytes, 'image/png')}
|
| 279 |
|
| 280 |
# Update with your actual ngrok or server URL
|
| 281 |
+
url = f" https://d000-103-40-74-83.ngrok-free.app/customisation/upload/{user_id}"
|
| 282 |
|
| 283 |
response = requests.post(url, files=files)
|
| 284 |
|