Spaces:
Runtime error
Runtime error
Commit
·
cc3bcf1
1
Parent(s):
45dc70e
app
Browse files
app.py
CHANGED
|
@@ -7,9 +7,12 @@ from torahcodes.resources.func.torah import *
|
|
| 7 |
torah = Torah()
|
| 8 |
books.load()
|
| 9 |
booklist=books.booklist()
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
def els_book(book_num,prompt):
|
| 14 |
els_space = torah.gematria_sum(prompt)
|
| 15 |
response_els, tvalue = torah.els(bk, els_space, tracert='false')
|
|
|
|
| 7 |
torah = Torah()
|
| 8 |
books.load()
|
| 9 |
booklist=books.booklist()
|
| 10 |
+
try:
|
| 11 |
+
bk = booklist[0]
|
| 12 |
+
print(torah.gematria_sum("בפומט"))
|
| 13 |
+
except:
|
| 14 |
+
pass
|
| 15 |
+
|
| 16 |
def els_book(book_num,prompt):
|
| 17 |
els_space = torah.gematria_sum(prompt)
|
| 18 |
response_els, tvalue = torah.els(bk, els_space, tracert='false')
|