Merlijn
commited on
Commit
·
b773934
1
Parent(s):
eac07ff
Update app.py
Browse files
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=[
|
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
|