Spaces:
Sleeping
Sleeping
Update app.py
Browse files12345import streamlit as stimport pdfplumber # Ensure this is installed correctlyfrom transformers import pipeline# Function to extract text from PDFs using pdfplumber1234567891011121314import streamlit as stimport subprocessimport sys# Install pdfplumber if it's not already installedtry:import pdfplumberexcept ModuleNotFoundError:subprocess.check_call([sys.executable, "-m", "pip", "install", "pdfplumber"])import pdfplumber # Re-import after installationfrom transformers import pipeline# Function to extract text from PDFs using pdfplumber
app.py+10-1