Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ from Gradio_UI import GradioUI
|
|
| 18 |
@tool
|
| 19 |
def inference_image_tool(prompt: str, model: str = "black-forest-labs/FLUX.1-dev") -> str:
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
-
"""Generate an image from a text prompt using Hugging Face Inference Providers. Return a local file path to a PNG.
|
| 22 |
Args:
|
| 23 |
prompt: Text prompt for the image.
|
| 24 |
model: HF model id (e.g. black-forest-labs/FLUX.1-dev).
|
|
|
|
| 18 |
@tool
|
| 19 |
def inference_image_tool(prompt: str, model: str = "black-forest-labs/FLUX.1-dev") -> str:
|
| 20 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 21 |
+
"""Generate an image from a text prompt using Hugging Face Inference Providers. Return a local file path to a PNG.
|
| 22 |
Args:
|
| 23 |
prompt: Text prompt for the image.
|
| 24 |
model: HF model id (e.g. black-forest-labs/FLUX.1-dev).
|