Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from langchain_community.llms import HuggingFaceHub
|
|
| 16 |
from getpass import getpass
|
| 17 |
import os
|
| 18 |
|
| 19 |
-
HUGGINGFACEHUB_API_TOKEN = os.
|
| 20 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
| 21 |
|
| 22 |
def process_input(urls, question):
|
|
|
|
| 16 |
from getpass import getpass
|
| 17 |
import os
|
| 18 |
|
| 19 |
+
HUGGINGFACEHUB_API_TOKEN = os.getenv("hf_api")
|
| 20 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
| 21 |
|
| 22 |
def process_input(urls, question):
|