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://7da2-2409-4042-6e81-1806-de6-b8e5-836c-6b95.ngrok-free.app/customisation/upload/{user_id}"
|
| 282 |
|
| 283 |
response = requests.post(url, files=files)
|
| 284 |
|