DiamondYin commited on
Commit
263d107
·
1 Parent(s): 1b0078f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -27,12 +27,12 @@ iface = gr.Interface(fn=greet, inputs=["text", gr.inputs.Textbox()], outputs="te
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"
32
- iface.buttons[0].onclick = get_key
33
 
34
- iface.buttons[1].label = "Greet"
35
- iface.buttons[1].type = "submit"
36
  #iface.buttons[1].onclick_args = {"name": iface.inputs[1].value}
37
 
38
  iface.launch()
 
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"
32
+ #iface.buttons[0].onclick = get_key
33
 
34
+ #iface.buttons[1].label = "Greet"
35
+ #iface.buttons[1].type = "submit"
36
  #iface.buttons[1].onclick_args = {"name": iface.inputs[1].value}
37
 
38
  iface.launch()