Update app.py
Browse files
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):
|