myhloli commited on
Commit
3237819
1 Parent(s): ec6059c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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))