update code
Browse files- app.py +1 -1
- 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("
|
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
|