Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def predict(text, name):
|
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=predict,
|
12 |
-
inputs=(
|
13 |
-
outputs=
|
14 |
)
|
15 |
-
demo.launch()
|
|
|
9 |
|
10 |
demo = gr.Interface(
|
11 |
fn=predict,
|
12 |
+
inputs=[gr.inputs.Textbox(label="Text"), gr.inputs.Textbox(label="Name")],
|
13 |
+
outputs=gr.outputs.Textbox(),
|
14 |
)
|
15 |
+
demo.launch()
|