sahadev10 commited on
Commit
9c133b0
·
verified ·
1 Parent(s): 3b09f35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ def send_to_backend(img_path, user_id):
217
  files = {'file': ('generated_image.png', f, 'image/png')}
218
 
219
  # Your backend endpoint here
220
- url = f"https://5a4d-103-40-74-78.ngrok-free.app/customisation/upload/{user_id}"
221
  response = requests.post(url, files=files)
222
 
223
  if response.status_code == 201:
 
217
  files = {'file': ('generated_image.png', f, 'image/png')}
218
 
219
  # Your backend endpoint here
220
+ url = f" https://a56e-103-40-74-78.ngrok-free.app/images/upload/{user_id}"
221
  response = requests.post(url, files=files)
222
 
223
  if response.status_code == 201: