Skip to content

Commit

Permalink
Fixing flux bug (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoarceof authored Oct 15, 2024
1 parent ab5502a commit c8639aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/flux/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def flux_image(prompt, filename):
output = replicate.run("black-forest-labs/flux-dev", input={"prompt": prompt})
image_url = output[0]
image_url = 'http://' + output[0]

response = requests.get(image_url)
response.raise_for_status()
Expand Down

0 comments on commit c8639aa

Please sign in to comment.