vechism commited on
Commit
556b4ea
·
verified ·
1 Parent(s): 0aef66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -6,7 +6,7 @@ import yaml
6
  import re
7
  from tools.final_answer import FinalAnswerTool
8
 
9
- #from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
@@ -96,8 +96,4 @@ agent = CodeAgent(
96
  # of the orb with a concentrated gaze. The unicorn is in a clearing in the forest on a moonlit night.'''
97
  #)
98
 
99
- #GradioUI(agent).launch()
100
-
101
- if __name__ == "__main__":
102
- from Gradio_UI import demo # Import Gradio app
103
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
6
  import re
7
  from tools.final_answer import FinalAnswerTool
8
 
9
+ from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
 
96
  # of the orb with a concentrated gaze. The unicorn is in a clearing in the forest on a moonlit night.'''
97
  #)
98
 
99
+ GradioUI(agent).launch()