nttwt1597 commited on
Commit
cabc9dd
·
verified ·
1 Parent(s): 377d024

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 + flag_response
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__":