DiamondYin commited on
Commit
bf095e9
·
1 Parent(s): 95ed471

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.inputs[0].label = "Enter a key"
27
- iface.inputs[1].label = "Enter a name"
28
- iface.inputs[1].lines = 1
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"