Spaces:
Runtime error
Runtime error
Fecalisboa
commited on
Commit
•
958d7f4
1
Parent(s):
7556e26
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ from langchain.chains import ConversationChain
|
|
15 |
from langchain.memory import ConversationBufferMemory
|
16 |
from langchain_community.llms import HuggingFaceEndpoint
|
17 |
import torch
|
|
|
18 |
api_token = os.getenv("HF_TOKEN")
|
19 |
|
20 |
list_llm = ["Fecalisboa/Lu_model", "mistralai/Mistral-7B-Instruct-v0.3"]
|
|
|
15 |
from langchain.memory import ConversationBufferMemory
|
16 |
from langchain_community.llms import HuggingFaceEndpoint
|
17 |
import torch
|
18 |
+
import secrets
|
19 |
api_token = os.getenv("HF_TOKEN")
|
20 |
|
21 |
list_llm = ["Fecalisboa/Lu_model", "mistralai/Mistral-7B-Instruct-v0.3"]
|