Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -428,7 +428,7 @@ with gr.Blocks() as demo:
|
|
| 428 |
outputs=outputs_information
|
| 429 |
)
|
| 430 |
|
| 431 |
-
clear_button.click(lambda : [None] * len(inputs_information), outputs=inputs_information)
|
| 432 |
|
| 433 |
# with gr.Row():
|
| 434 |
# selected_response = gr.Radio(
|
|
@@ -455,8 +455,8 @@ with gr.Blocks() as demo:
|
|
| 455 |
with gr.Row():
|
| 456 |
clear_all_button = gr.Button("Clear All")
|
| 457 |
|
| 458 |
-
flag_response = [selected_response]
|
| 459 |
-
all_information = inputs_information + outputs_information
|
| 460 |
clear_all_button.click(lambda : [None] * len(all_information), outputs=all_information)
|
| 461 |
|
| 462 |
if __name__ == "__main__":
|
|
|
|
| 428 |
outputs=outputs_information
|
| 429 |
)
|
| 430 |
|
| 431 |
+
# clear_button.click(lambda : [None] * len(inputs_information), outputs=inputs_information)
|
| 432 |
|
| 433 |
# with gr.Row():
|
| 434 |
# selected_response = gr.Radio(
|
|
|
|
| 455 |
with gr.Row():
|
| 456 |
clear_all_button = gr.Button("Clear All")
|
| 457 |
|
| 458 |
+
# flag_response = [selected_response]
|
| 459 |
+
all_information = inputs_information + outputs_information #+ flag_response
|
| 460 |
clear_all_button.click(lambda : [None] * len(all_information), outputs=all_information)
|
| 461 |
|
| 462 |
if __name__ == "__main__":
|