AISKYAX9 commited on
Commit
7dce5ef
·
verified ·
1 Parent(s): 54fb251

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
- from art import text2art
8
 
9
  from Gradio_UI import GradioUI
10
 
@@ -22,18 +22,6 @@ def get_random_fun_fact() -> str:
22
  except Exception as e:
23
  return f"Error: {str(e)}"
24
 
25
- @tool
26
- def generate_ascii_art(text: str) -> str:
27
- """Converts a given text into ASCII art.
28
-
29
- Args:
30
- text: The text to convert into ASCII art.
31
- """
32
-
33
- try:
34
- return text2art(text)
35
- except Exception as e:
36
- return f"Error generating ASCII art: {str(e)}"
37
 
38
 
39
  @tool
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+
8
 
9
  from Gradio_UI import GradioUI
10
 
 
22
  except Exception as e:
23
  return f"Error: {str(e)}"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
 
27
  @tool