Merlijn commited on
Commit
b773934
·
1 Parent(s): eac07ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ with gr.Blocks() as iface:
12
  pet_width = gr.Textbox(label="Petal Width")
13
 
14
  button = gr.Button(label="Predict")
15
- button.click(fn=predict_length, inputs=[sep_length, sep_width, pet_length, pet_width] outputs="text", api_name="predict_length")
16
 
17
 
18
  # Launch the interface
 
12
  pet_width = gr.Textbox(label="Petal Width")
13
 
14
  button = gr.Button(label="Predict")
15
+ button.click(fn=predict_length, inputs=["text", "text", "text", "text"], outputs="text", api_name="predict_length")
16
 
17
 
18
  # Launch the interface