SumayyaAli commited on
Commit
c312545
1 Parent(s): b21ea20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,6 +5,7 @@ from transformers import T5Tokenizer, T5ForConditionalGeneration
5
  from transformers import pipeline
6
  import torch
7
  import base64
 
8
  #import os
9
  #from dotenv import load_dotenv
10
  #from huggingface_hub import HfApi
@@ -53,7 +54,7 @@ def llm_pipeline(filepath):
53
 
54
 
55
  def main():
56
- st.title("Document Summarization App using Language Model")
57
 
58
  uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
59
 
 
5
  from transformers import pipeline
6
  import torch
7
  import base64
8
+ import tempfile
9
  #import os
10
  #from dotenv import load_dotenv
11
  #from huggingface_hub import HfApi
 
54
 
55
 
56
  def main():
57
+ st.title("Document Summarization App")
58
 
59
  uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
60