Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,8 @@ from magic_pdf.rw.AbsReaderWriter import AbsReaderWriter
|
|
30 |
from magic_pdf.rw.DiskReaderWriter import DiskReaderWriter
|
31 |
from magic_pdf.tools.common import do_parse, prepare_env
|
32 |
|
|
|
|
|
33 |
|
34 |
def read_fn(path):
|
35 |
disk_rw = DiskReaderWriter(os.path.dirname(path))
|
|
|
30 |
from magic_pdf.rw.DiskReaderWriter import DiskReaderWriter
|
31 |
from magic_pdf.tools.common import do_parse, prepare_env
|
32 |
|
33 |
+
import spaces
|
34 |
+
|
35 |
|
36 |
def read_fn(path):
|
37 |
disk_rw = DiskReaderWriter(os.path.dirname(path))
|