Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ for message in st.session_state.messages:
|
|
| 63 |
# User input
|
| 64 |
prompt = st.chat_input("Ask something about the video:")
|
| 65 |
|
| 66 |
-
if prompt :=
|
| 67 |
# Display user message in chat message container
|
| 68 |
st.chat_message("human",avatar = "π§βπ»").markdown(prompt)
|
| 69 |
# Add user message to chat history
|
|
|
|
| 63 |
# User input
|
| 64 |
prompt = st.chat_input("Ask something about the video:")
|
| 65 |
|
| 66 |
+
if prompt := prompt and "query_engine" in st.session_state:
|
| 67 |
# Display user message in chat message container
|
| 68 |
st.chat_message("human",avatar = "π§βπ»").markdown(prompt)
|
| 69 |
# Add user message to chat history
|