Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import pdfplumber
|
|
| 3 |
import re
|
| 4 |
import gradio as gr
|
| 5 |
from transformers import pipeline, AutoModelForQuestionAnswering, AutoTokenizer
|
|
|
|
| 6 |
|
| 7 |
"""
|
| 8 |
Extract the text from a section of a PDF file between 'wanted_section' and 'next_section'.
|
|
|
|
| 3 |
import re
|
| 4 |
import gradio as gr
|
| 5 |
from transformers import pipeline, AutoModelForQuestionAnswering, AutoTokenizer
|
| 6 |
+
from io import BytesIO
|
| 7 |
|
| 8 |
"""
|
| 9 |
Extract the text from a section of a PDF file between 'wanted_section' and 'next_section'.
|