Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ from huggingface_hub import snapshot_download, hf_hub_download
|
|
15 |
|
16 |
|
17 |
credentials = os.getenv("GIGACHAT_CREDENTIALS")
|
18 |
-
print(credentials)
|
19 |
|
20 |
# from prompts import CONDENSE_QUESTION_PROMPT
|
21 |
|
@@ -70,7 +69,7 @@ def get_conversation_chain(vectorstore, model_name):
|
|
70 |
|
71 |
# llm = ChatOpenAI()
|
72 |
|
73 |
-
llm = GigaChat(credentials=
|
74 |
verify_ssl_certs=False)
|
75 |
|
76 |
memory = ConversationBufferMemory(memory_key='chat_history',
|
|
|
15 |
|
16 |
|
17 |
credentials = os.getenv("GIGACHAT_CREDENTIALS")
|
|
|
18 |
|
19 |
# from prompts import CONDENSE_QUESTION_PROMPT
|
20 |
|
|
|
69 |
|
70 |
# llm = ChatOpenAI()
|
71 |
|
72 |
+
llm = GigaChat(credentials=os.getenv("GIGACHAT_CREDENTIALS"),
|
73 |
verify_ssl_certs=False)
|
74 |
|
75 |
memory = ConversationBufferMemory(memory_key='chat_history',
|