Spaces:
Sleeping
Sleeping
variable fix
Browse filescharacter_radio.change instead of formality_radio.change
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 |
-
|
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 |
|