wjjessen commited on
Commit
103643f
·
1 Parent(s): 2d3e634

update code

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -160,7 +160,7 @@ def main():
160
  )
161
  pdf_viewer = displayPDF(filepath)
162
  with col2:
163
- with st.spinner("Loading LLM..."):
164
  time.sleep(5)
165
  with st.spinner("Summarizing..."):
166
  summary = llm_pipeline(tokenizer, base_model, input_text)
 
160
  )
161
  pdf_viewer = displayPDF(filepath)
162
  with col2:
163
+ with st.spinner("Downloading LLM..."):
164
  time.sleep(5)
165
  with st.spinner("Summarizing..."):
166
  summary = llm_pipeline(tokenizer, base_model, input_text)
requirements.txt CHANGED
@@ -13,4 +13,5 @@ uvicorn
13
  python-multipart
14
  aiofiles
15
  PyPDF2
16
- PyMuPDF
 
 
13
  python-multipart
14
  aiofiles
15
  PyPDF2
16
+ PyMuPDF
17
+ time