Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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".
|