winamnd commited on
Commit
5b08915
·
verified ·
1 Parent(s): 0ab07a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ demo = gr.Interface(
110
  )
111
 
112
  # Add Save Button Interaction
113
- demo.add_component(save_button)
114
  save_button.click(save_to_json, inputs=[output_text, output_label], outputs=[save_output])
115
 
116
  demo.launch()
 
110
  )
111
 
112
  # Add Save Button Interaction
113
+ demo.get_component(save_button)
114
  save_button.click(save_to_json, inputs=[output_text, output_label], outputs=[save_output])
115
 
116
  demo.launch()