Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,4 @@
|
|
1 |
-
# Comprehensive Unstructured Document Processing with Gradio Interface
|
2 |
-
# This notebook demonstrates a robust implementation of Unstructured's features with a Gradio UI
|
3 |
|
4 |
-
# Cell 1: Install required packages
|
5 |
-
!pip install -q unstructured "unstructured[all-docs]" gradio pandas numpy matplotlib seaborn plotly sentence-transformers nltk langchain google-colab tqdm huggingface_hub python-magic pdfminer.six pdf2image tabulate pytesseract pillow
|
6 |
-
|
7 |
-
# Also install spaCy for NER and other text processing
|
8 |
-
!pip install -q spacy
|
9 |
-
!python -m spacy download en_core_web_sm
|
10 |
|
11 |
# Cell 2: Import necessary libraries
|
12 |
import os
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Cell 2: Import necessary libraries
|
4 |
import os
|