joaogante HF staff commited on
Commit
951e56d
1 Parent(s): 61212e3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ with demo:
191
  interactive=True
192
  )
193
  plot_fn = functools.partial(get_plot, generate_type="Greedy Search")
194
- plot = gr.Plot(value=plot_fn("T5 Small"), plot_eager="Yes") # Show plot when the gradio app is initialized
195
  model_selector.change(fn=plot_fn, inputs=[model_selector, eager_enabler], outputs=plot)
196
  with gr.TabItem("Sample"):
197
  gr.Button("New Tiger")
 
191
  interactive=True
192
  )
193
  plot_fn = functools.partial(get_plot, generate_type="Greedy Search")
194
+ plot = gr.Plot(value=plot_fn("T5 Small", "Yes")) # Show plot when the gradio app is initialized
195
  model_selector.change(fn=plot_fn, inputs=[model_selector, eager_enabler], outputs=plot)
196
  with gr.TabItem("Sample"):
197
  gr.Button("New Tiger")