Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,19 +7,8 @@ from tools.final_answer import FinalAnswerTool
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
| 10 |
-
import pyfiglet
|
| 11 |
import json
|
| 12 |
|
| 13 |
-
@tool
|
| 14 |
-
def asciify_text(text:str)-> str:
|
| 15 |
-
"""A tool that transforms a text into ascii art
|
| 16 |
-
Args :
|
| 17 |
-
text: A text to transform
|
| 18 |
-
|
| 19 |
-
"""
|
| 20 |
-
result = pyfiglet.figlet_format(text, font = "slant" )
|
| 21 |
-
return result
|
| 22 |
-
|
| 23 |
@tool
|
| 24 |
def website_info(url:str)-> str:
|
| 25 |
"""A tool that gets info from a website
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
|
|
| 10 |
import json
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
@tool
|
| 13 |
def website_info(url:str)-> str:
|
| 14 |
"""A tool that gets info from a website
|