muradkhan commited on
Commit
0a55ae4
1 Parent(s): 954da24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ from pprint import pprint
2
  from PyPDF2 import PdfReader
3
  import gradio as gr
4
  from transformers import pipeline
 
5
 
6
  # Function to read PDF file content directly
7
  def read_pdf(pdf_path):
 
2
  from PyPDF2 import PdfReader
3
  import gradio as gr
4
  from transformers import pipeline
5
+ import os
6
 
7
  # Function to read PDF file content directly
8
  def read_pdf(pdf_path):