Spaces:
Sleeping
Sleeping
cyberosa
commited on
Commit
·
668ad9a
1
Parent(s):
5e58bba
preparing v2.0
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pytz
|
|
5 |
import yaml
|
6 |
from tools.final_answer import FinalAnswerTool
|
7 |
from tools.calories_checker import CaloriesCheckerTool
|
8 |
-
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
11 |
|
@@ -65,5 +65,10 @@ agent = CodeAgent(
|
|
65 |
description="Assistant to help you with nutritional information, meal planning, and food-related queries.",
|
66 |
prompt_templates=prompt_templates,
|
67 |
)
|
|
|
68 |
|
69 |
-
|
|
|
|
|
|
|
|
|
|
5 |
import yaml
|
6 |
from tools.final_answer import FinalAnswerTool
|
7 |
from tools.calories_checker import CaloriesCheckerTool
|
8 |
+
import gradio as gr
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
11 |
|
|
|
65 |
description="Assistant to help you with nutritional information, meal planning, and food-related queries.",
|
66 |
prompt_templates=prompt_templates,
|
67 |
)
|
68 |
+
demo = gr.Blocks(theme=gr.themes.Origin())
|
69 |
|
70 |
+
with demo:
|
71 |
+
gr.HTML("WIP Preparing NutriCoach Agent v2.0")
|
72 |
+
gr.Markdown("This app will be available soon...")
|
73 |
+
# GradioUI(agent).launch()
|
74 |
+
demo.queue(default_concurrency_limit=40).launch()
|