Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,10 @@ from langchain import PromptTemplate, LLMChain
|
|
| 3 |
from langchain_huggingface import HuggingFacePipeline, HuggingFaceEndpoint
|
| 4 |
from transformers import pipeline
|
| 5 |
import os
|
| 6 |
-
|
| 7 |
|
| 8 |
# Authenticate with Hugging Face
|
| 9 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"]
|
| 10 |
|
| 11 |
# Load the LLM
|
| 12 |
pipe = pipeline(
|
|
|
|
| 3 |
from langchain_huggingface import HuggingFacePipeline, HuggingFaceEndpoint
|
| 4 |
from transformers import pipeline
|
| 5 |
import os
|
| 6 |
+
|
| 7 |
|
| 8 |
# Authenticate with Hugging Face
|
| 9 |
+
os.environ["HUGGINGFACEHUB_API_TOKEN"]
|
| 10 |
|
| 11 |
# Load the LLM
|
| 12 |
pipe = pipeline(
|