Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,6 @@ from langchain.llms import HuggingFaceHub, LlamaCpp
|
|
14 |
from huggingface_hub import snapshot_download, hf_hub_download
|
15 |
|
16 |
|
17 |
-
credentials = os.getenv("GIGACHAT_CREDENTIALS")
|
18 |
-
|
19 |
# from prompts import CONDENSE_QUESTION_PROMPT
|
20 |
|
21 |
repo_name = "IlyaGusev/saiga_mistral_7b_gguf"
|
@@ -70,7 +68,7 @@ def get_conversation_chain(vectorstore, model_name):
|
|
70 |
# llm = ChatOpenAI()
|
71 |
|
72 |
llm = GigaChat(credentials=os.getenv("GIGACHAT_CREDENTIALS"),
|
73 |
-
|
74 |
|
75 |
memory = ConversationBufferMemory(memory_key='chat_history',
|
76 |
input_key='question',
|
|
|
14 |
from huggingface_hub import snapshot_download, hf_hub_download
|
15 |
|
16 |
|
|
|
|
|
17 |
# from prompts import CONDENSE_QUESTION_PROMPT
|
18 |
|
19 |
repo_name = "IlyaGusev/saiga_mistral_7b_gguf"
|
|
|
68 |
# llm = ChatOpenAI()
|
69 |
|
70 |
llm = GigaChat(credentials=os.getenv("GIGACHAT_CREDENTIALS"),
|
71 |
+
verify_ssl_certs=False)
|
72 |
|
73 |
memory = ConversationBufferMemory(memory_key='chat_history',
|
74 |
input_key='question',
|