Spaces:
Sleeping
Sleeping
Update app.py
Browse files179 unmodified lines180181182183184185186179 unmodified linestry:with open(img_path, 'rb') as f:files = {'file': ('generated_image.png', f, 'image/png')}url = f"https://e335-103-40-74-83.ngrok-free.app/images/upload/{user_id}"print(f"🔁 [DEBUG] Sending POST to {url}")response = requests.post(url, files=files)179 unmodified lines180181182183184185186179 unmodified linestry:with open(img_path, 'rb') as f:files = {'file': ('generated_image.png', f, 'image/png')}url = f" https://dcef-59-184-228-93.ngrok-free.app/images/upload/{user_id}"print(f"🔁 [DEBUG] Sending POST to {url}")response = requests.post(url, files=files)
app.py+1-1