hra commited on
Commit
e162922
1 Parent(s): b80e624

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,6 @@ from datetime import datetime, date, time, timedelta
10
  import os
11
 
12
  listofcategories=["Earnings Announcements", "Automotive", "Retail"]
13
- llm_predictor = LLMPredictor(llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo"))
14
 
15
  def getstuff(openapikey,category_selector):
16
  dateforfilesave=datetime.today().strftime("%d-%m-%Y %I:%M%p")
@@ -37,6 +36,7 @@ def getstuff(openapikey,category_selector):
37
 
38
  documents = reader.load_data([rssurl])
39
  index = GPTSimpleVectorIndex(documents)
 
40
 
41
  answerlist=[]
42
  for i in range(querylist):
 
10
  import os
11
 
12
  listofcategories=["Earnings Announcements", "Automotive", "Retail"]
 
13
 
14
  def getstuff(openapikey,category_selector):
15
  dateforfilesave=datetime.today().strftime("%d-%m-%Y %I:%M%p")
 
36
 
37
  documents = reader.load_data([rssurl])
38
  index = GPTSimpleVectorIndex(documents)
39
+ llm_predictor = LLMPredictor(llm=OpenAIChat(temperature=0, model_name="gpt-3.5-turbo"))
40
 
41
  answerlist=[]
42
  for i in range(querylist):