Spaces:
Sleeping
Sleeping
Commit
·
5b8c5fb
1
Parent(s):
1f2e146
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,8 @@ class KeyValueExtractor:
|
|
| 42 |
pdf_file_path (str): The path to the input PDF file.
|
| 43 |
"""
|
| 44 |
self.model = "facebook/bart-large-mnli"
|
| 45 |
-
|
|
|
|
| 46 |
def get_url(self,keyword):
|
| 47 |
return f"https://finance.yahoo.com/quote/{keyword}?p={keyword}"
|
| 48 |
|
|
|
|
| 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}"
|
| 49 |
|