Sujithanumala commited on
Commit
c867b0d
·
verified ·
1 Parent(s): 74debfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ def predict(query :str , chat_history : List[tuple[str,str]] , invocation_type :
8
  with open("config.json",'r') as f:
9
  hyperparameters = json.load(f)
10
  a = OWiki(**hyperparameters)
 
11
  if invocation_type =="SQL":
12
  try:
13
  res = a.create_sql_agent(query,schemas)
 
8
  with open("config.json",'r') as f:
9
  hyperparameters = json.load(f)
10
  a = OWiki(**hyperparameters)
11
+ local_llm = LocalLLM(**hyperparameters)
12
  if invocation_type =="SQL":
13
  try:
14
  res = a.create_sql_agent(query,schemas)