Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,6 +126,8 @@ def main():
|
|
126 |
st.write("<!-- End Spacer -->", unsafe_allow_html=True)
|
127 |
|
128 |
new_messages_placeholder = st.empty()
|
|
|
|
|
129 |
|
130 |
if pdf_path is not None:
|
131 |
query = st.text_input("Ask questions about your PDF file (in any preferred language):")
|
|
|
126 |
st.write("<!-- End Spacer -->", unsafe_allow_html=True)
|
127 |
|
128 |
new_messages_placeholder = st.empty()
|
129 |
+
|
130 |
+
loading_message = None # Initialize the loading_message variable
|
131 |
|
132 |
if pdf_path is not None:
|
133 |
query = st.text_input("Ask questions about your PDF file (in any preferred language):")
|