epmel commited on
Commit
8137e3e
·
verified ·
1 Parent(s): 5f4462d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from Gradio_UI import GradioUI
16
 
17
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
18
  @tool
19
- def inference_image_tool(prompt: str, model: str = "black-forest-labs/FLUX.1-dev") -> "Image.Image":
20
  """Generate an image from a text prompt using Hugging Face Inference Providers. Return a local file path to a PNG."
21
  Args:
22
  prompt: Text prompt for the image.
 
16
 
17
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
18
  @tool
19
+ def inference_image_tool(prompt: str, model: str = "black-forest-labs/FLUX.1-dev") -> str:
20
  """Generate an image from a text prompt using Hugging Face Inference Providers. Return a local file path to a PNG."
21
  Args:
22
  prompt: Text prompt for the image.