Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,7 +162,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 162 |
diac_out = gr.Textbox(label="Diacritized Text (Reference)", lines=3, interactive=True, text_align="right")
|
| 163 |
diac_out.change(
|
| 164 |
fn=lambda text: text, # Just pass the value through
|
| 165 |
-
inputs=
|
| 166 |
outputs=reference_text_state
|
| 167 |
)
|
| 168 |
diac_btn.click(fn=diacritize_text, inputs=[model_sel, text_in], outputs=[diac_out, ref_state])
|
|
|
|
| 162 |
diac_out = gr.Textbox(label="Diacritized Text (Reference)", lines=3, interactive=True, text_align="right")
|
| 163 |
diac_out.change(
|
| 164 |
fn=lambda text: text, # Just pass the value through
|
| 165 |
+
inputs=diac_out,
|
| 166 |
outputs=reference_text_state
|
| 167 |
)
|
| 168 |
diac_btn.click(fn=diacritize_text, inputs=[model_sel, text_in], outputs=[diac_out, ref_state])
|