priyar84 commited on
Commit
4e473b5
·
verified ·
1 Parent(s): 036f41b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,10 +8,10 @@ from Gradio_UI import GradioUI
8
 
9
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
10
  @tool
11
- def my_custom_tool(prompt: str)-> str: #it's import to specify the return type
12
  """A tool that does helps to generate the image for the given text prompt
13
  Args:
14
- prompt(str): A string that describes about the image to generate
15
  Returns:
16
  str: A URL to the generated image.
17
  """
 
8
 
9
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
10
  @tool
11
+ def my_custom_tool(userprompt: str)-> str: #it's import to specify the return type
12
  """A tool that does helps to generate the image for the given text prompt
13
  Args:
14
+ userprompt(str): A string that describes about the image to generate
15
  Returns:
16
  str: A URL to the generated image.
17
  """