joeyanuff commited on
Commit
b94f2e9
1 Parent(s): 67b4075

variable fix

Browse files

character_radio.change instead of formality_radio.change

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -192,7 +192,7 @@ with block:
192
 
193
  character_radio = gr.Radio(label="As if written by:", choices=["The Old Lady Who Swallowed A Fly", "The Old Woman Who Lived In A Shoe", "Mary Had A Little Lamb", "Humpty-Dumpty"],
194
  value=CHARACTER_DEFAULT)
195
- formality_radio.change(update_foo,
196
  inputs=[character_radio, character_state],
197
  outputs=[character_state])
198
 
 
192
 
193
  character_radio = gr.Radio(label="As if written by:", choices=["The Old Lady Who Swallowed A Fly", "The Old Woman Who Lived In A Shoe", "Mary Had A Little Lamb", "Humpty-Dumpty"],
194
  value=CHARACTER_DEFAULT)
195
+ character_radio.change(update_foo,
196
  inputs=[character_radio, character_state],
197
  outputs=[character_state])
198