Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed May 28, 2024
1 parent 588f8bc commit 4a30f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_tron_master/cogs/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def generate_cascade_via_hub(prompt: str, user_id: int = None):
1, # float (numeric value between 1 and 2) in 'Number of Images' Slider component
api_name="/run"
)
split_pieces = result[0]['image'].split('/')
split_pieces = result.split('/')
return f"https://multimodalart-stable-cascade.hf.space/file=/tmp/gradio/{split_pieces[-2]}/image.png"

def generate_terminus_via_hub(prompt: str, model: str = "velocity", user_id: int = None):
Expand Down

0 comments on commit 4a30f03

Please sign in to comment.