joaogante HF staff commited on
Commit
3526caf
·
1 Parent(s): 27708fb

playing around with gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ with demo:
25
  label="Model",
26
  interactive=True,
27
  )
28
- model_selector.change(fn=get_plot, inputs=model_selector, outputs="plot")
29
  with gr.TabItem("Sample"):
30
  gr.Button("New Tiger")
31
  with gr.TabItem("Beam Search"):
 
25
  label="Model",
26
  interactive=True,
27
  )
28
+ model_selector.change(fn=get_plot, inputs=[model_selector], outputs=["plot"])
29
  with gr.TabItem("Sample"):
30
  gr.Button("New Tiger")
31
  with gr.TabItem("Beam Search"):