Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,8 @@ def send_to_backend(image_buffer, request: gr.Request):
|
|
| 127 |
|
| 128 |
try:
|
| 129 |
files = {'file': ('generated_image.png', image_buffer, 'image/png')}
|
| 130 |
-
url = f"
|
|
|
|
| 131 |
|
| 132 |
response = requests.post(url, files=files)
|
| 133 |
|
|
|
|
| 127 |
|
| 128 |
try:
|
| 129 |
files = {'file': ('generated_image.png', image_buffer, 'image/png')}
|
| 130 |
+
url = f"https://361d-103-40-74-78.ngrok-free.app/customisation/upload/{user_id}"
|
| 131 |
+
|
| 132 |
|
| 133 |
response = requests.post(url, files=files)
|
| 134 |
|