Spaces:
Runtime error
Runtime error
nos
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,11 @@ with gr.Blocks() as demo:
|
|
| 80 |
text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)
|
| 81 |
text2 = gr.Textbox(label="ELS value", scale=3)
|
| 82 |
inbtw = gr.Button("Search",scale=1)
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
with gr.Row():
|
| 85 |
start = gr.Number(label="Start", value=1)
|
| 86 |
end = gr.Number(label="End", value=1)
|
|
@@ -135,14 +139,6 @@ with gr.Blocks() as demo:
|
|
| 135 |
image_button = gr.Button("Upload")
|
| 136 |
|
| 137 |
|
| 138 |
-
#text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
| 139 |
-
#image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
| 140 |
-
|
| 141 |
-
"""
|
| 142 |
-
demo = gr.ChatInterface(
|
| 143 |
-
respond
|
| 144 |
-
)
|
| 145 |
-
"""
|
| 146 |
|
| 147 |
if __name__ == "__main__":
|
| 148 |
demo.launch()
|
|
|
|
| 80 |
text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)
|
| 81 |
text2 = gr.Textbox(label="ELS value", scale=3)
|
| 82 |
inbtw = gr.Button("Search",scale=1)
|
| 83 |
+
inbtw.click(
|
| 84 |
+
translate_texts,
|
| 85 |
+
inputs=["",text2],
|
| 86 |
+
outputs=els_book
|
| 87 |
+
)
|
| 88 |
with gr.Row():
|
| 89 |
start = gr.Number(label="Start", value=1)
|
| 90 |
end = gr.Number(label="End", value=1)
|
|
|
|
| 139 |
image_button = gr.Button("Upload")
|
| 140 |
|
| 141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
if __name__ == "__main__":
|
| 144 |
demo.launch()
|