Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,12 @@ import json
|
|
| 9 |
|
| 10 |
import arxiv
|
| 11 |
from utils import get_md_text_abstract, search_cleaner, get_arxiv_live_search
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
retrieve_results = 10
|
| 14 |
show_examples = False
|
|
|
|
| 9 |
|
| 10 |
import arxiv
|
| 11 |
from utils import get_md_text_abstract, search_cleaner, get_arxiv_live_search
|
| 12 |
+
from dotenv import load_dotenv
|
| 13 |
+
|
| 14 |
+
load_dotenv()
|
| 15 |
+
|
| 16 |
+
USERNAME = os.getenv("USERNAME")
|
| 17 |
+
PWD = os.getenv("PWD")
|
| 18 |
|
| 19 |
retrieve_results = 10
|
| 20 |
show_examples = False
|