Spaces:
Sleeping
Sleeping
Update app.py
Browse files87 unmodified lines888990919293949596979887 unmodified lines# Import tool from Hub#image_generation_tool = load_tool("black-forest-labs/FLUX.1-dev", 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")with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)87 unmodified lines888990919293949587 unmodified lines# Import tool from Hub#image_generation_tool = load_tool("black-forest-labs/FLUX.1-dev", trust_remote_code=True)image_generation_tool = load_tool("Ulduz/FLUX.1-dev", trust_remote_code=True)with open("prompts.yaml", 'r') as stream:prompt_templates = yaml.safe_load(stream)
app.py+2-5