Yudum commited on
Commit
7bc755d
·
verified ·
1 Parent(s): f8500f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,11 +9,10 @@ from Gradio_UI import GradioUI
9
 
10
  import wikipedia
11
 
12
- @tool
13
  @tool
14
  def generate_image_from_wikipedia(topic: str) -> str:
15
  """
16
- Fetches a Wikipedia summary of a given topic and generates an image based on it.
17
 
18
  Args:
19
  topic (str): The topic to search for in Wikipedia. It should be a short phrase like "Albert Einstein" or "The Great Wall of China".
 
9
 
10
  import wikipedia
11
 
 
12
  @tool
13
  def generate_image_from_wikipedia(topic: str) -> str:
14
  """
15
+ Fetches a summary of a given topic and generates an image based on it.
16
 
17
  Args:
18
  topic (str): The topic to search for in Wikipedia. It should be a short phrase like "Albert Einstein" or "The Great Wall of China".