Spaces:
Running
Running
robertselvam
commited on
Commit
•
aa1094c
1
Parent(s):
5b8c5fb
Update app.py
Browse files
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
|
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}"
|