joaogante HF staff commited on
Commit
61af8e9
·
1 Parent(s): b1484a9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ with demo:
190
  label="Plot TF Eager Execution?",
191
  interactive=True
192
  )
193
- plot_fn = functools.partial(get_plot, generate_type="Greedy Search")
194
  plot = gr.Plot(value=plot_fn("T5 Small")) # 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"):
 
190
  label="Plot TF Eager Execution?",
191
  interactive=True
192
  )
193
+ plot_fn = functools.partial(get_plot, generate_type="Greedy Search", plot_eager="Yes")
194
  plot = gr.Plot(value=plot_fn("T5 Small")) # 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"):