Spaces:
Sleeping
Sleeping
Commit
·
38a1a88
1
Parent(s):
74071e5
testing
Browse files
app.py
CHANGED
|
@@ -241,10 +241,12 @@ def run_app():
|
|
| 241 |
initialize_translator()
|
| 242 |
|
| 243 |
# Pre-populate the database
|
|
|
|
|
|
|
| 244 |
tanach_texts = process_json_files(1, 1) # Process all books
|
| 245 |
-
populate_database(tanach_texts, max_phrase_length=4)
|
| 246 |
tanach_texts = process_json_files(27, 27) # Process all books
|
| 247 |
-
populate_database(tanach_texts, max_phrase_length=4)
|
| 248 |
|
| 249 |
iface = gr.Interface(
|
| 250 |
fn=gematria_search_interface,
|
|
|
|
| 241 |
initialize_translator()
|
| 242 |
|
| 243 |
# Pre-populate the database
|
| 244 |
+
tanach_texts = process_json_files(1, 39) # Process all books
|
| 245 |
+
populate_database(tanach_texts, max_phrase_length=1)
|
| 246 |
tanach_texts = process_json_files(1, 1) # Process all books
|
| 247 |
+
populate_database(tanach_texts, max_phrase_length=4)
|
| 248 |
tanach_texts = process_json_files(27, 27) # Process all books
|
| 249 |
+
populate_database(tanach_texts, max_phrase_length=4)
|
| 250 |
|
| 251 |
iface = gr.Interface(
|
| 252 |
fn=gematria_search_interface,
|