Chad commited on
Commit ·
0541502
1
Parent(s): b3b43c2
prowdwdwddwww12334
Browse files
app.py
CHANGED
|
@@ -185,7 +185,7 @@ with gr.Blocks() as interface:
|
|
| 185 |
|
| 186 |
def update_ui(language, profound_state):
|
| 187 |
new_language, new_title, new_button_text, new_placeholder, new_send_label, new_reset_label, quiz_sub, quiz_len, quiz_but, help_but, profound_on, profound_off = toggle_language(language)
|
| 188 |
-
profound_label = profound_off if profound_state else profound_on
|
| 189 |
return (
|
| 190 |
new_language, new_title, new_button_text,
|
| 191 |
gr.update(placeholder=new_placeholder, value=""),
|
|
|
|
| 185 |
|
| 186 |
def update_ui(language, profound_state):
|
| 187 |
new_language, new_title, new_button_text, new_placeholder, new_send_label, new_reset_label, quiz_sub, quiz_len, quiz_but, help_but, profound_on, profound_off = toggle_language(language)
|
| 188 |
+
profound_label = profound_off if profound_state else profound_on
|
| 189 |
return (
|
| 190 |
new_language, new_title, new_button_text,
|
| 191 |
gr.update(placeholder=new_placeholder, value=""),
|