randydev commited on
Commit
0adba93
1 Parent(s): 6b9cdf9

Update fluxai.py

Browse files
Files changed (1) hide show
  1. fluxai.py +1 -1
fluxai.py CHANGED
@@ -116,7 +116,7 @@ async def fluxai_image(payload: FluxAI):
116
  with open(file_path, "wb") as f:
117
  f.write(enhanced_image_bytes.getvalue())
118
 
119
- url = "https://randydev-ryuzaki-api.hf.space/api/v1/uploadfile/"
120
  files = {"file": open(file_path, "rb")}
121
  response_uploaded = requests.post(url, files=files).json()
122
  get_url = response_uploaded.get("url")
 
116
  with open(file_path, "wb") as f:
117
  f.write(enhanced_image_bytes.getvalue())
118
 
119
+ url = "https://randydev-ryuzaki-api.hf.space/uploadfile/"
120
  files = {"file": open(file_path, "rb")}
121
  response_uploaded = requests.post(url, files=files).json()
122
  get_url = response_uploaded.get("url")