Spaces:
Sleeping
Sleeping
Update app.py
Browse filesadding gradio theme Soft
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()
|
|
|