Spaces:
Runtime error
Runtime error
cryptocalypse
commited on
Commit
·
58f2ab5
1
Parent(s):
19d210d
memory improvements, diferent bugs solved, search improvement, parsers
Browse files
app.py
CHANGED
@@ -16,10 +16,10 @@ except:
|
|
16 |
def els_book(book_num,prompt):
|
17 |
els_space = torah.gematria_sum(prompt)
|
18 |
res=[]
|
19 |
-
for bok in book_num:
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
|
24 |
return res
|
25 |
|
|
|
16 |
def els_book(book_num,prompt):
|
17 |
els_space = torah.gematria_sum(prompt)
|
18 |
res=[]
|
19 |
+
#for bok in book_num:
|
20 |
+
response_els, tvalue = torah.els(bk, els_space, tracert='false')
|
21 |
+
text_translate = torah.func_translate('iw', 'en', response_els)
|
22 |
+
res.append({"Book":bk,"Prompt gematria":els_space,"ELS Generated":response_els,"ELS Translated": text_translate})
|
23 |
|
24 |
return res
|
25 |
|