Spaces:
Sleeping
Sleeping
Update app.py
Browse files697 unmodified lines69869970070170270370470579 unmodified lines785786787788789790791697 unmodified linesArgs:prompt (str): Text description of the image to generate.model_id (str): The Hugging Face model id (creator/model-name). Defaults to"black-forest-labs/FLUX.1-Krea-dev".negative_prompt (str): What should NOT appear in the image.steps (int): Number of denoising steps (1–100). Higher can improve quality.cfg_scale (float): Guidance scale (1–20). Higher = follow the prompt more closely.79 unmodified linesapi_description=("Generate a single image from a text prompt using a Hugging Face model (serverless Inference). ""Parameters: prompt (str), model_id (str, creator/model-name), negative_prompt (str), steps (int, 1–100), cfg_scale (float, 1–20), ""sampler (str, label only), seed (int, -1=random), width/height (int, 64–1216). Returns a PIL.Image."),allow_flagging="never",)697 unmodified lines69869970070170270370479 unmodified lines784785786787788789790791697 unmodified linesArgs:prompt (str): Text description of the image to generate.model_id (str): The Hugging Face model id (creator/model-name). Defaults to "black-forest-labs/FLUX.1-Krea-dev".negative_prompt (str): What should NOT appear in the image.steps (int): Number of denoising steps (1–100). Higher can improve quality.cfg_scale (float): Guidance scale (1–20). Higher = follow the prompt more closely.79 unmodified linesapi_description=("Generate a single image from a text prompt using a Hugging Face model (serverless Inference). ""Parameters: prompt (str), model_id (str, creator/model-name), negative_prompt (str), steps (int, 1–100), cfg_scale (float, 1–20), ""sampler (str, label only), seed (int, -1=random), width/height (int, 64–1216). Returns a PIL.Image. ""Return the finished image to the user in this format ``"),allow_flagging="never",)
app.py+3-3