randydev commited on
Commit
4500197
·
verified ·
1 Parent(s): 94b4713

Update fluxai.py

Browse files
Files changed (1) hide show
  1. fluxai.py +1 -1
fluxai.py CHANGED
@@ -147,7 +147,7 @@ async def fluxai_image(payload: FluxAI):
147
  f.write(enhanced_image_bytes.getvalue())
148
  url_request = "https://randydev-ryuzaki-api.hf.space/uploadfile/"
149
  files = {"file": open(file_path, "rb")}
150
- response_uploaded = requests.post(url, files=files)
151
  example_test = "Explain how this picture looks like."
152
  x = GeminiLatest(api_keys=GOOGLE_API_KEY)
153
  response = x.get_response_image(example_test, file_path)
 
147
  f.write(enhanced_image_bytes.getvalue())
148
  url_request = "https://randydev-ryuzaki-api.hf.space/uploadfile/"
149
  files = {"file": open(file_path, "rb")}
150
+ response_uploaded = requests.post(url_request, files=files)
151
  example_test = "Explain how this picture looks like."
152
  x = GeminiLatest(api_keys=GOOGLE_API_KEY)
153
  response = x.get_response_image(example_test, file_path)