Spaces:
Running
Running
neuralworm
commited on
Commit
•
292d834
1
Parent(s):
42fc307
populate
Browse files
app.py
CHANGED
@@ -247,10 +247,11 @@ def run_app():
|
|
247 |
initialize_translator()
|
248 |
|
249 |
# Pre-populate the database
|
250 |
-
|
251 |
-
populate_database(tanach_texts, max_phrase_length=1)
|
252 |
tanach_texts = process_json_files(27, 27) # Process all books
|
253 |
populate_database(tanach_texts, max_phrase_length=12)
|
|
|
|
|
254 |
#tanach_texts = process_json_files(1, 1) # Process all books
|
255 |
#populate_database(tanach_texts, max_phrase_length=4)
|
256 |
#tanach_texts = process_json_files(27, 27) # Process all books
|
|
|
247 |
initialize_translator()
|
248 |
|
249 |
# Pre-populate the database
|
250 |
+
|
|
|
251 |
tanach_texts = process_json_files(27, 27) # Process all books
|
252 |
populate_database(tanach_texts, max_phrase_length=12)
|
253 |
+
tanach_texts = process_json_files(1, 39) # Process all books
|
254 |
+
populate_database(tanach_texts, max_phrase_length=1)
|
255 |
#tanach_texts = process_json_files(1, 1) # Process all books
|
256 |
#populate_database(tanach_texts, max_phrase_length=4)
|
257 |
#tanach_texts = process_json_files(27, 27) # Process all books
|