Simplifying text clear logic
Browse files
app.py
CHANGED
@@ -184,8 +184,8 @@ def change_language(radio,text_input,text_output,markdown,
|
|
184 |
|
185 |
|
186 |
def clear_text():
|
187 |
-
text_input_update=
|
188 |
-
text_output_update=
|
189 |
|
190 |
return [text_input_update,text_output_update]
|
191 |
|
|
|
184 |
|
185 |
|
186 |
def clear_text():
|
187 |
+
text_input_update=""
|
188 |
+
text_output_update=""
|
189 |
|
190 |
return [text_input_update,text_output_update]
|
191 |
|