hra commited on
Commit
663d261
1 Parent(s): e162922

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def getstuff(openapikey,category_selector):
39
  llm_predictor = LLMPredictor(llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo"))
40
 
41
  answerlist=[]
42
- for i in range(querylist):
43
  print(i)
44
  response = index.query(
45
  querylist[i],
 
39
  llm_predictor = LLMPredictor(llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo"))
40
 
41
  answerlist=[]
42
+ for i in range(len(querylist)):
43
  print(i)
44
  response = index.query(
45
  querylist[i],