Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ from langchain_core.prompts import PromptTemplate
|
|
| 4 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
| 5 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline,BitsAndBytesConfig
|
| 6 |
import os
|
|
|
|
| 7 |
aa=''
|
| 8 |
|
| 9 |
HF_TOKEN = os.environ["HF_TOKEN"]
|
|
|
|
| 4 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
| 5 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline,BitsAndBytesConfig
|
| 6 |
import os
|
| 7 |
+
from langchain_community.llms import HuggingFaceEndpoint
|
| 8 |
aa=''
|
| 9 |
|
| 10 |
HF_TOKEN = os.environ["HF_TOKEN"]
|