Tonic commited on
Commit
cf382c2
·
verified ·
1 Parent(s): 48277a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
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(generate_dependency_parse , value="👁️Visualize Generated Text", visible=False , inputs=[dependency_parse_generated] , outputs=[dependency_parse_generated])
114
- dependency_parse_generated = gr.HTML(label="👁️Visualization (Generated Text)")
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")