Spaces:
Sleeping
Sleeping
Download app/services/sql_agent_instance.py from Kshitijk20/Talk2DatabaseAgent: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/Kshitijk20/Talk2DatabaseAgent/resolve/main/app/services/sql_agent_instance.py
- Command line
-
hf download hf://spaces/Kshitijk20/Talk2DatabaseAgent/app/services/sql_agent_instance.py
-
curl -L -o sql_agent_instance.py https://huggingface.co/spaces/Kshitijk20/Talk2DatabaseAgent/resolve/main/app/services/sql_agent_instance.py
309 Bytes
| """ | |
| SQLAgent singleton instance module. | |
| This creates and maintains a single instance of the SQLAgent class | |
| that can be imported and used throughout the application. | |
| """ | |
| # from app.services.sql_agent import SQLAgent | |
| from app.agents.sql_agent import SQLAgent | |
| # Create a singleton instance | |
| sql_agent = SQLAgent() |