Spaces:
Build error
Build error
Commit
·
69713ba
1
Parent(s):
64021df
Update app.py
Browse files
app.py
CHANGED
|
@@ -191,7 +191,8 @@ def main():
|
|
| 191 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
| 192 |
|
| 193 |
|
| 194 |
-
if st.button('💬 Chat'):
|
|
|
|
| 195 |
st.write('Reasoning with your inputs...')
|
| 196 |
response = chat_with_model(st.session_state.text_content, ''.join(list(document_sections)))
|
| 197 |
st.write('Response:')
|
|
|
|
| 191 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
| 192 |
|
| 193 |
|
| 194 |
+
#if st.button('💬 Chat'):
|
| 195 |
+
if st.session_state.text_content:
|
| 196 |
st.write('Reasoning with your inputs...')
|
| 197 |
response = chat_with_model(st.session_state.text_content, ''.join(list(document_sections)))
|
| 198 |
st.write('Response:')
|