Spaces:
Running
Running
bluuebunny
commited on
Commit
•
1a28d2a
1
Parent(s):
0e4f7b9
added warning about slow speen on HF
Browse files
app.py
CHANGED
@@ -217,6 +217,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
217 |
4. Non-recoverable mask is applied to identified elements using **[OpenCV](https://github.com/opencv/opencv)**.
|
218 |
5. The masked images are converted back to a PDF again using **[PyMuPDF](https://github.com/pymupdf/PyMuPDF)**.
|
219 |
""")
|
|
|
220 |
|
221 |
# Input Section
|
222 |
pdf_file_input = gr.File(file_count='single', file_types=['pdf'], label='Upload PDF', show_label=True, interactive=True)
|
|
|
217 |
4. Non-recoverable mask is applied to identified elements using **[OpenCV](https://github.com/opencv/opencv)**.
|
218 |
5. The masked images are converted back to a PDF again using **[PyMuPDF](https://github.com/pymupdf/PyMuPDF)**.
|
219 |
""")
|
220 |
+
gr.Markdown("*Note: If you already have a ML setup, it is preferable that you download the repo and use it offline. It offers better privacy and can use GPU for (much) faster computations while utilising a better model like **[FacebookAI/xlm-roberta-large-finetuned-conll03-english](https://huggingface.co/FacebookAI/xlm-roberta-large-finetuned-conll03-english)** or **[blaze999/Medical-NER](https://huggingface.co/blaze999/Medical-NER)***")
|
221 |
|
222 |
# Input Section
|
223 |
pdf_file_input = gr.File(file_count='single', file_types=['pdf'], label='Upload PDF', show_label=True, interactive=True)
|