robertselvam commited on
Commit
15ffa22
1 Parent(s): aa1094c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ class KeyValueExtractor:
42
  pdf_file_path (str): The path to the input PDF file.
43
  """
44
  self.model = "facebook/bart-large-mnli"
45
- os.environ.get("OPENAI_API_KEY")
46
 
47
  def get_url(self,keyword):
48
  return f"https://finance.yahoo.com/quote/{keyword}?p={keyword}"
 
42
  pdf_file_path (str): The path to the input PDF file.
43
  """
44
  self.model = "facebook/bart-large-mnli"
45
+ openai.api_key = os.environ.get("OPENAI_API_KEY")
46
 
47
  def get_url(self,keyword):
48
  return f"https://finance.yahoo.com/quote/{keyword}?p={keyword}"