Spaces:
Sleeping
Sleeping
Renzo
commited on
Commit
·
745d7fa
1
Parent(s):
1bcef24
Comment out incorrect print_response call in agent.py
Browse files- agent.py +1 -1
- playground.py +7 -0
agent.py
CHANGED
@@ -16,4 +16,4 @@ agent = Agent(
|
|
16 |
)
|
17 |
|
18 |
# Print the response in the terminal
|
19 |
-
agent.print_response("Waht is greater 9.9 or 9.11?", strem=True)
|
|
|
16 |
)
|
17 |
|
18 |
# Print the response in the terminal
|
19 |
+
# agent.print_response("Waht is greater 9.9 or 9.11?", strem=True)
|
playground.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from agno.playground import Playground, serve_playground_app
|
2 |
+
from agent import agent
|
3 |
+
|
4 |
+
app = Playground(agents=[agent]).get_app()
|
5 |
+
|
6 |
+
if __name__ == "__main__":
|
7 |
+
serve_playground_app("playground:app", reload=True)
|