Spaces:
Sleeping
Sleeping
cryptocalypse
commited on
Commit
•
7a63526
1
Parent(s):
4fa11f9
fuck solved ?
Browse files
app.py
CHANGED
@@ -96,7 +96,12 @@ with gr.Blocks(title="Sophia, Torah Codes") as demo:
|
|
96 |
langgem=gr.Dropdown(
|
97 |
["Hebrew", "Latin", "Greek"], label="Gematria Alphabet", info="Choose gematria conversion"
|
98 |
),
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
100 |
search_els = gr.Button("Search",scale=1)
|
101 |
with gr.Row():
|
102 |
els_results = gr.JSON(label="Results")
|
@@ -105,23 +110,6 @@ with gr.Blocks(title="Sophia, Torah Codes") as demo:
|
|
105 |
inputs=[to_convert,to_convert],
|
106 |
outputs=els_results
|
107 |
)
|
108 |
-
with gr.Row():
|
109 |
-
start = gr.Number(label="Start", value=1)
|
110 |
-
end = gr.Number(label="End", value=1)
|
111 |
-
step = gr.Number(label="Step", value=6)
|
112 |
-
length = gr.Number(label="Length", value=1)
|
113 |
-
tlang = gr.Textbox(label="Target Language", value="en")
|
114 |
-
spaces_include = gr.Checkbox(label="Include Spaces", value=False)
|
115 |
-
strip_in_braces = gr.Checkbox(label="Strip Text in Braces", value=True)
|
116 |
-
strip_diacritics_chk = gr.Checkbox(label="Strip Diacritics", value=True)
|
117 |
-
translate_btn = gr.Button("Translate")
|
118 |
-
with gr.Row():
|
119 |
-
translate_results = gr.JSON(label="Results")
|
120 |
-
translate_btn.click(
|
121 |
-
translate_texts,
|
122 |
-
inputs=[start, end, step, length, tlang, spaces_include, strip_in_braces, strip_diacritics_chk],
|
123 |
-
outputs=translate_results
|
124 |
-
)
|
125 |
|
126 |
|
127 |
with gr.Tab("Gematria"):
|
|
|
96 |
langgem=gr.Dropdown(
|
97 |
["Hebrew", "Latin", "Greek"], label="Gematria Alphabet", info="Choose gematria conversion"
|
98 |
),
|
99 |
+
with gr.Row():
|
100 |
+
spaces_include = gr.Checkbox(label="Include Spaces", value=False)
|
101 |
+
strip_in_braces = gr.Checkbox(label="Strip Text in Braces", value=True)
|
102 |
+
strip_diacritics_chk = gr.Checkbox(label="Strip Diacritics", value=True)
|
103 |
+
to_jump = gr.Textbox(label="ELS value", scale=1)
|
104 |
+
with gr.Row():
|
105 |
search_els = gr.Button("Search",scale=1)
|
106 |
with gr.Row():
|
107 |
els_results = gr.JSON(label="Results")
|
|
|
110 |
inputs=[to_convert,to_convert],
|
111 |
outputs=els_results
|
112 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
|
115 |
with gr.Tab("Gematria"):
|