melbamorph commited on
Commit
5dc2631
·
verified ·
1 Parent(s): 9fad297

Update app.py

Browse files

adding gradio theme Soft

Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,6 +5,7 @@ import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
 
 
8
  from Gradio_UI import GradioUI
9
 
10
  # Below is a tool that gets a list of books from an app I built on Replit
@@ -87,6 +88,6 @@ agent = CodeAgent(
87
  description=None,
88
  prompt_templates=prompt_templates
89
  )
 
90
 
91
-
92
- GradioUI(agent).launch()
 
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
 
8
+ import gradio as gr
9
  from Gradio_UI import GradioUI
10
 
11
  # Below is a tool that gets a list of books from an app I built on Replit
 
88
  description=None,
89
  prompt_templates=prompt_templates
90
  )
91
+ theme = gr.themes.Soft()
92
 
93
+ GradioUI(agent, theme=theme).launch()