quant-iota commited on
Commit
4da9fa1
·
verified ·
1 Parent(s): cbafd4e

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -271,7 +271,7 @@ def run_ska(n1, n2, n3, n4, K, tau, samples_per_class, data_seed, history):
271
 
272
 
273
  def clear_history():
274
- return plot_convergence_comparison([])
275
 
276
 
277
  with gr.Blocks(title="SKA Entropy State Explorer") as demo:
@@ -325,7 +325,7 @@ with gr.Blocks(title="SKA Entropy State Explorer") as demo:
325
  clear_btn.click(
326
  fn=clear_history,
327
  inputs=[],
328
- outputs=[plot_comparison],
329
  )
330
 
331
  demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
 
271
 
272
 
273
  def clear_history():
274
+ return plot_convergence_comparison([]), []
275
 
276
 
277
  with gr.Blocks(title="SKA Entropy State Explorer") as demo:
 
325
  clear_btn.click(
326
  fn=clear_history,
327
  inputs=[],
328
+ outputs=[plot_comparison, history_state],
329
  )
330
 
331
  demo.launch(server_name="0.0.0.0", server_port=7860, share=True)