Spaces:
Sleeping
Sleeping
remove token reference
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def sql_engine(query: str) -> str:
|
|
45 |
# Initialize CodeAgent to generate SQL queries from natural language
|
46 |
agent = CodeAgent(
|
47 |
tools=[sql_engine], # Ensure sql_engine is properly registered
|
48 |
-
model=HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
49 |
)
|
50 |
|
51 |
def query_sql(user_query: str) -> str:
|
|
|
45 |
# Initialize CodeAgent to generate SQL queries from natural language
|
46 |
agent = CodeAgent(
|
47 |
tools=[sql_engine], # Ensure sql_engine is properly registered
|
48 |
+
model=HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct"),
|
49 |
)
|
50 |
|
51 |
def query_sql(user_query: str) -> str:
|