Shanulhaq commited on
Commit
fa330f5
1 Parent(s): fc23cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,9 +1,13 @@
 
 
 
1
  # Install necessary libraries
2
- !pip install PyPDF2 transformers torch accelerate
3
 
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
  import torch
6
  import PyPDF2
 
7
 
8
  # Step 1: Extract text from PDF
9
  def extract_text_from_pdf(pdf_path):
 
1
+ #!pip install streamlit
2
+
3
+
4
  # Install necessary libraries
5
+ !pip install PyPDF2 transformers torch accelerate streamlit
6
 
7
  from transformers import AutoTokenizer, AutoModelForCausalLM
8
  import torch
9
  import PyPDF2
10
+ import streamlit as st
11
 
12
  # Step 1: Extract text from PDF
13
  def extract_text_from_pdf(pdf_path):