Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,7 +198,7 @@ with gr.Blocks(css="""
|
|
| 198 |
sample_text = gr.Textbox(label="Try typing here:", value="The quick brown fox jumps over the lazy dog.")
|
| 199 |
# When font_choice changes, call set_font_size (returns gr.skip() so value remains unchanged)
|
| 200 |
font_choice.change(
|
| 201 |
-
fn=
|
| 202 |
inputs=font_choice,
|
| 203 |
outputs=[], # No output updated by Python.
|
| 204 |
js=js_callback # JS callback updates document's font size.
|
|
|
|
| 198 |
sample_text = gr.Textbox(label="Try typing here:", value="The quick brown fox jumps over the lazy dog.")
|
| 199 |
# When font_choice changes, call set_font_size (returns gr.skip() so value remains unchanged)
|
| 200 |
font_choice.change(
|
| 201 |
+
fn=None,
|
| 202 |
inputs=font_choice,
|
| 203 |
outputs=[], # No output updated by Python.
|
| 204 |
js=js_callback # JS callback updates document's font size.
|