concauu commited on
Commit
efd5424
·
verified ·
1 Parent(s): 52153d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=set_font_size,
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.