maxidl commited on
Commit
909f699
1 Parent(s): 3879030
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -10,6 +10,7 @@ from marker.pdf.extract_text import get_length_of_text
10
  from marker.models import load_all_models
11
  from marker.settings import settings
12
  from marker.logger import configure_logging
 
13
  import traceback
14
 
15
 
@@ -18,6 +19,7 @@ MAX_PAGES = 20
18
  MIN_LENGTH=200
19
  settings.EXTRACT_IMAGES = False
20
  settings.DEBUG = False
 
21
 
22
  model_refs = load_all_models()
23
  metadata = {}
 
10
  from marker.models import load_all_models
11
  from marker.settings import settings
12
  from marker.logger import configure_logging
13
+ from surya.settings import settings as surya_settings
14
  import traceback
15
 
16
 
 
19
  MIN_LENGTH=200
20
  settings.EXTRACT_IMAGES = False
21
  settings.DEBUG = False
22
+ surya_settings.IN_STREAMLIT = True
23
 
24
  model_refs = load_all_models()
25
  metadata = {}