Ravi theja K commited on
Commit
197abcf
·
verified ·
1 Parent(s): 50c0ccc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def getSession():
18
  + f"?warehouse={pars['warehouse']}&role={pars['role']}")
19
  db = SQLDatabase.from_uri(url)
20
 
21
- os.environ["HUGGINGFACEHUB_API_TOKEN"]
22
  llm = HuggingFaceHub(repo_id= "ravithejakandi/Sf-Arctic-Demo-Enu")
23
  chain = create_sql_query_chain(llm, db)
24
  return session, db, chain
 
18
  + f"?warehouse={pars['warehouse']}&role={pars['role']}")
19
  db = SQLDatabase.from_uri(url)
20
 
21
+ os.environ["HUGGINGFACEHUB_API_TOKEN"]
22
  llm = HuggingFaceHub(repo_id= "ravithejakandi/Sf-Arctic-Demo-Enu")
23
  chain = create_sql_query_chain(llm, db)
24
  return session, db, chain