Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from langchain.memory import ConversationBufferMemory
|
|
| 16 |
from langchain_community.llms import HuggingFaceEndpoint
|
| 17 |
import torch
|
| 18 |
import secrets
|
| 19 |
-
api_token = os.getenv("
|
| 20 |
|
| 21 |
list_llm = ["Fecalisboa/Lu_model", "mistralai/Mistral-7B-Instruct-v0.3","unsloth/mistral-7b-v0.3" ]
|
| 22 |
list_llm_simple = [os.path.basename(llm) for llm in list_llm]
|
|
|
|
| 16 |
from langchain_community.llms import HuggingFaceEndpoint
|
| 17 |
import torch
|
| 18 |
import secrets
|
| 19 |
+
api_token = os.getenv("hf")
|
| 20 |
|
| 21 |
list_llm = ["Fecalisboa/Lu_model", "mistralai/Mistral-7B-Instruct-v0.3","unsloth/mistral-7b-v0.3" ]
|
| 22 |
list_llm_simple = [os.path.basename(llm) for llm in list_llm]
|