Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,10 @@ def get_conversation_chain(vectorstore, model_name):
|
|
87 |
|
88 |
|
89 |
def handle_userinput(user_question):
|
90 |
-
|
|
|
|
|
|
|
91 |
response = st.session_state.conversation({'question': user_question})
|
92 |
|
93 |
st.session_state.chat_history = response['chat_history']
|
|
|
87 |
|
88 |
|
89 |
def handle_userinput(user_question):
|
90 |
+
|
91 |
+
if user_question == None:
|
92 |
+
user_question = "привет"
|
93 |
+
|
94 |
response = st.session_state.conversation({'question': user_question})
|
95 |
|
96 |
st.session_state.chat_history = response['chat_history']
|