Spaces:
Sleeping
Sleeping
Update app.py
Browse files48 unmodified lines4950515253545556575859606148 unmodified lines# Import tool from Hub#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)image_generation_tool = Tool.from_space("black-forest-labs/FLUX.1-schnell",name="image_generator",description="Generate an image from a prompt")# stabilityai/stable-diffusion-xl-base-1.0with open("prompts.yaml", 'r') as stream:48 unmodified lines4950515253545556575859606148 unmodified lines# Import tool from Hubimage_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)# image_generation_tool = Tool.from_space(# "black-forest-labs/FLUX.1-schnell",# name="image_generator",# description="Generate an image from a prompt"# )# stabilityai/stable-diffusion-xl-base-1.0with open("prompts.yaml", 'r') as stream:
app.py+6-6