Spaces:
Runtime error
Runtime error
andreeabodea
commited on
Commit
•
3c27b3e
1
Parent(s):
3dcc616
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'.
|