sgbaird commited on
Commit
076dfd1
1 Parent(s): 9972a90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +15,8 @@ def branin(x1, x2):
15
  iface = gr.Interface(
16
  fn=branin,
17
  inputs=[
18
- gr.Slider(0.25, label="x1", minimum=-5.0, maximum=10.0),
19
- gr.Slider(0.75, label="x2", minimum=0.0, maximum=10.0),
20
  ],
21
  outputs=gr.Number(branin(0.25, 0.75), label="branin function value"),
22
  description="""
 
15
  iface = gr.Interface(
16
  fn=branin,
17
  inputs=[
18
+ gr.Number(0.25, label="x1", minimum=-5.0, maximum=10.0),
19
+ gr.Number(0.75, label="x2", minimum=0.0, maximum=10.0),
20
  ],
21
  outputs=gr.Number(branin(0.25, 0.75), label="branin function value"),
22
  description="""