Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ def send_to_backend(image_buffer, user_id):
|
|
| 118 |
|
| 119 |
try:
|
| 120 |
files = {'file': ('generated_image.png', image_buffer, 'image/png')}
|
| 121 |
-
url = f"
|
| 122 |
|
| 123 |
response = requests.post(url, files=files)
|
| 124 |
|
|
|
|
| 118 |
|
| 119 |
try:
|
| 120 |
files = {'file': ('generated_image.png', image_buffer, 'image/png')}
|
| 121 |
+
url = f"https://5a4d-103-40-74-78.ngrok-free.app/customisation/upload/{user_id}"
|
| 122 |
|
| 123 |
response = requests.post(url, files=files)
|
| 124 |
|