sgbaird commited on
Commit
c024813
1 Parent(s): 5e2fc9d

adjust limits to match Ax defaults

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.Number(0.25, label="x1", minimum=0.0, maximum=1.0),
19
- gr.Number(0.75, label="x2", minimum=0.0, maximum=1.0),
20
  ],
21
  outputs=gr.Number(branin(0.25, 0.75), label="branin function value"),
22
  )
 
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
  )