Spaces:
Sleeping
Sleeping
Commit
·
bf095e9
1
Parent(s):
95ed471
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,9 +23,9 @@ iface = gr.Interface(fn=greet, inputs=["text", gr.inputs.Textbox()], outputs="te
|
|
| 23 |
inputs_layout="vertical", outputs_layout="vertical",
|
| 24 |
title="Greeting App", description="Enter a key and a name to greet")
|
| 25 |
|
| 26 |
-
iface.
|
| 27 |
-
iface.
|
| 28 |
-
iface.
|
| 29 |
|
| 30 |
iface.buttons[0].label = "Save Key"
|
| 31 |
iface.buttons[0].type = "submit"
|
|
|
|
| 23 |
inputs_layout="vertical", outputs_layout="vertical",
|
| 24 |
title="Greeting App", description="Enter a key and a name to greet")
|
| 25 |
|
| 26 |
+
iface.input[0].label = "Enter a key"
|
| 27 |
+
iface.input[1].label = "Enter a name"
|
| 28 |
+
iface.input[1].lines = 1
|
| 29 |
|
| 30 |
iface.buttons[0].label = "Save Key"
|
| 31 |
iface.buttons[0].type = "submit"
|