Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,15 +258,12 @@ with gr.Blocks(css=css_styling, title=page_title, theme=osium_theme) as demo:
|
|
| 258 |
show_progress=True,
|
| 259 |
)
|
| 260 |
clear_button.click(
|
| 261 |
-
lambda x: [gr.update(value=None)] *
|
| 262 |
[],
|
| 263 |
[
|
| 264 |
-
|
| 265 |
-
param2,
|
| 266 |
-
param3,
|
| 267 |
input_hardness,
|
| 268 |
input_yield_strength,
|
| 269 |
-
formula
|
| 270 |
],
|
| 271 |
)
|
| 272 |
|
|
|
|
| 258 |
show_progress=True,
|
| 259 |
)
|
| 260 |
clear_button.click(
|
| 261 |
+
lambda x: [gr.update(value=None)] * 3,
|
| 262 |
[],
|
| 263 |
[
|
| 264 |
+
optimal_parameters,
|
|
|
|
|
|
|
| 265 |
input_hardness,
|
| 266 |
input_yield_strength,
|
|
|
|
| 267 |
],
|
| 268 |
)
|
| 269 |
|