robertselvam commited on
Commit
aa1094c
1 Parent(s): 5b8c5fb

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["OPENAI_API_KEY"] = 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
+ os.environ.get("OPENAI_API_KEY")
46
 
47
  def get_url(self,keyword):
48
  return f"https://finance.yahoo.com/quote/{keyword}?p={keyword}"