Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ agent = CodeAgent(
|
|
61 |
|
62 |
#GradioUI(agent).launch()
|
63 |
|
64 |
-
# Add a Markdown section for example usage
|
65 |
examples = """
|
66 |
### Example Usage
|
67 |
1. **Currency Rate**: Ask for the exchange rate of a currency pair.
|
@@ -73,13 +72,6 @@ examples = """
|
|
73 |
- Example: "Get the time in Asia/Tokyo."
|
74 |
"""
|
75 |
|
76 |
-
#
|
77 |
-
|
78 |
-
|
79 |
-
gr.Markdown("# Currency Agent")
|
80 |
-
gr.Markdown(examples)
|
81 |
-
GradioUI(agent).render()
|
82 |
-
demo.launch()
|
83 |
-
|
84 |
-
# Launch the app
|
85 |
-
launch_with_examples(agent)
|
|
|
61 |
|
62 |
#GradioUI(agent).launch()
|
63 |
|
|
|
64 |
examples = """
|
65 |
### Example Usage
|
66 |
1. **Currency Rate**: Ask for the exchange rate of a currency pair.
|
|
|
72 |
- Example: "Get the time in Asia/Tokyo."
|
73 |
"""
|
74 |
|
75 |
+
gr.Markdown("# Currency Agent")
|
76 |
+
gr.Markdown(examples)
|
77 |
+
GradioUI(agent).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|