Spaces:
Sleeping
Sleeping
cryptocalypse
commited on
Commit
•
0f5ea6d
1
Parent(s):
7a63526
english and hebrew gematria
Browse files
app.py
CHANGED
@@ -15,6 +15,8 @@ except:
|
|
15 |
|
16 |
def els_book(book_num,prompt):
|
17 |
els_space = torah.gematria_sum(prompt)
|
|
|
|
|
18 |
res=[]
|
19 |
for bok in booklist:
|
20 |
response_els, tvalue = torah.els(bok, els_space, tracert='false')
|
|
|
15 |
|
16 |
def els_book(book_num,prompt):
|
17 |
els_space = torah.gematria_sum(prompt)
|
18 |
+
if els_space==0:
|
19 |
+
els_space=torah.gematria(prompt)
|
20 |
res=[]
|
21 |
for bok in booklist:
|
22 |
response_els, tvalue = torah.els(bok, els_space, tracert='false')
|