Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with st.sidebar:
|
|
107 |
if uploaded_files or uploaded_url:
|
108 |
with st.spinner("Processing..."):
|
109 |
if uploaded_files:
|
110 |
-
pdf_text = get_pdf_text(
|
111 |
st.session_state["docs"] = (st.session_state.get("docs", "") + pdf_text).strip()
|
112 |
|
113 |
if uploaded_url:
|
|
|
107 |
if uploaded_files or uploaded_url:
|
108 |
with st.spinner("Processing..."):
|
109 |
if uploaded_files:
|
110 |
+
pdf_text = get_pdf_text(uploaded_file)
|
111 |
st.session_state["docs"] = (st.session_state.get("docs", "") + pdf_text).strip()
|
112 |
|
113 |
if uploaded_url:
|