Spaces:
Running
Running
Update fluxai.py
Browse files
fluxai.py
CHANGED
@@ -145,7 +145,6 @@ async def fluxai_image(payload: FluxAI):
|
|
145 |
with open(file_path, "wb") as f:
|
146 |
f.write(enhanced_image_bytes.getvalue())
|
147 |
|
148 |
-
|
149 |
url = "https://randydev-ryuzaki-api.hf.space/api/v1/uploadfile/"
|
150 |
files = {"file": open(file_path, "rb")}
|
151 |
response_uploaded = requests.post(url, files=files).json()
|
|
|
145 |
with open(file_path, "wb") as f:
|
146 |
f.write(enhanced_image_bytes.getvalue())
|
147 |
|
|
|
148 |
url = "https://randydev-ryuzaki-api.hf.space/api/v1/uploadfile/"
|
149 |
files = {"file": open(file_path, "rb")}
|
150 |
response_uploaded = requests.post(url, files=files).json()
|