Spaces:
Build error
Build error
Update app.py
Browse files24 unmodified lines252627282930313224 unmodified linesif not text.strip():return "No extractable text found in the PDF."# Optional: Limit the text if needed for token limitstext = text[:15000]prompt = f"Summarize the following PDF content:\n\n{text}"24 unmodified lines25262728293024 unmodified linesif not text.strip():return "No extractable text found in the PDF."prompt = f"Summarize the following PDF content:\n\n{text}"
app.py-2