Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,14 @@ examples = """
|
|
72 |
- Example: "Get the time in Asia/Tokyo."
|
73 |
"""
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
- Example: "Get the time in Asia/Tokyo."
|
73 |
"""
|
74 |
|
75 |
+
# Modify the Gradio UI to include the examples
|
76 |
+
def launch_with_examples(agent):
|
77 |
+
with gr.Blocks() as demo:
|
78 |
+
gr.Markdown("# Currency and Time Agent")
|
79 |
+
gr.Markdown(examples)
|
80 |
+
GradioUI(agent).render()
|
81 |
+
demo.launch()
|
82 |
+
|
83 |
+
# Launch the app
|
84 |
+
launch_with_examples(agent)
|
85 |
+
#GradioUI(agent).launch()
|