suriya7 commited on
Commit
735e7c6
1 Parent(s): 1da8d89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(uploaded_files)
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: