Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ def branin(x1, x2):
|
|
15 |
iface = gr.Interface(
|
16 |
fn=branin,
|
17 |
inputs=[
|
18 |
-
gr.
|
19 |
-
gr.
|
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="""
|