ZennyKenny commited on
Commit
026bf2e
·
verified ·
1 Parent(s): 3a29307

remove token reference

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", token=hf_token),
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: