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