Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -110,9 +110,14 @@ with gr.Blocks(theme=gr.themes.Base()) as iface:
|
|
110 |
tokenizer_info = gr.JSON(label="📉Tokenizer Info (Input Text)")
|
111 |
dependency_parse_input = gr.HTML(label="👁️Visualization")
|
112 |
|
113 |
-
send_button = gr.Button(
|
114 |
-
dependency_parse_generated = gr.HTML(label="
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
116 |
reset_button = gr.Button(value="♻️Start Again", visible=False)
|
117 |
|
118 |
generate_button = gr.Button(value="🎅🏻⌚Generate Historical Text")
|
|
|
110 |
tokenizer_info = gr.JSON(label="📉Tokenizer Info (Input Text)")
|
111 |
dependency_parse_input = gr.HTML(label="👁️Visualization")
|
112 |
|
113 |
+
send_button = gr.Button(value="🎅🏻⌚OCRonos-Vintage 👁️Visualization", visible=False)
|
114 |
+
dependency_parse_generated = gr.HTML(label="Dependency Parse Visualization (Generated Text)")
|
115 |
+
send_button.click(
|
116 |
+
generate_dependency_parse,
|
117 |
+
inputs=[dependency_parse_generated],
|
118 |
+
outputs=[dependency_parse_generated]
|
119 |
+
)
|
120 |
+
|
121 |
reset_button = gr.Button(value="♻️Start Again", visible=False)
|
122 |
|
123 |
generate_button = gr.Button(value="🎅🏻⌚Generate Historical Text")
|