dxedline commited on
Commit
1ef0732
·
verified ·
1 Parent(s): 3a6eada

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,13 +24,13 @@ requests.packages.urllib3.disable_warnings()
24
 
25
  HF_TOKEN = os.environ.get("HF_TOKEN")
26
  HF_DATASET = "dxedline/historical_research_data"
27
- SCRAPE_WORKERS = 20
28
- IMAGE_WORKERS = 15
29
  MAX_CELL_CHARS = 49000
30
  MAX_WORD_LIMIT = 150000
31
- MIN_IMAGE_SIZE = 400
32
  IMAGE_SIMILARITY_THRESHOLD = 8
33
- MIN_RELEVANCE_SCORE = 25
34
 
35
  if HF_TOKEN:
36
  login(token=HF_TOKEN)
 
24
 
25
  HF_TOKEN = os.environ.get("HF_TOKEN")
26
  HF_DATASET = "dxedline/historical_research_data"
27
+ SCRAPE_WORKERS = 50
28
+ IMAGE_WORKERS = 35
29
  MAX_CELL_CHARS = 49000
30
  MAX_WORD_LIMIT = 150000
31
+ MIN_IMAGE_SIZE = 200
32
  IMAGE_SIMILARITY_THRESHOLD = 8
33
+ MIN_RELEVANCE_SCORE = 20
34
 
35
  if HF_TOKEN:
36
  login(token=HF_TOKEN)