Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -221,8 +221,6 @@ def main():
|
|
221 |
st.title("Research Paper Guru")
|
222 |
st.subheader("Upload PDF or Enter URL")
|
223 |
embeddings = None
|
224 |
-
col1, col2 = st.columns(2)
|
225 |
-
with col1:
|
226 |
pdf_option = st.selectbox("Choose an option:", ["Upload PDF", "Enter URL"])
|
227 |
chatbot = Chatbot()
|
228 |
|
@@ -246,7 +244,6 @@ def main():
|
|
246 |
show_pdf(content)
|
247 |
except Exception as e:
|
248 |
st.error(f"An error occurred while processing the PDF: {e}")
|
249 |
-
with col2:
|
250 |
st.subheader("Ask a question about a research paper and get an answer with sources!")
|
251 |
query = st.text_input("Enter your query:")
|
252 |
if query:
|
|
|
221 |
st.title("Research Paper Guru")
|
222 |
st.subheader("Upload PDF or Enter URL")
|
223 |
embeddings = None
|
|
|
|
|
224 |
pdf_option = st.selectbox("Choose an option:", ["Upload PDF", "Enter URL"])
|
225 |
chatbot = Chatbot()
|
226 |
|
|
|
244 |
show_pdf(content)
|
245 |
except Exception as e:
|
246 |
st.error(f"An error occurred while processing the PDF: {e}")
|
|
|
247 |
st.subheader("Ask a question about a research paper and get an answer with sources!")
|
248 |
query = st.text_input("Enter your query:")
|
249 |
if query:
|