Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -262,12 +262,16 @@ with gr.Blocks(css=css_styling, title=page_title, theme=osium_theme) as demo:
|
|
262 |
show_progress=True,
|
263 |
)
|
264 |
clear_button.click(
|
265 |
-
lambda x: [gr.update(value=None)] *
|
266 |
[],
|
267 |
[
|
268 |
-
optimal_parameters,
|
269 |
input_hardness,
|
270 |
input_yield_strength,
|
|
|
|
|
|
|
|
|
|
|
271 |
],
|
272 |
)
|
273 |
|
|
|
262 |
show_progress=True,
|
263 |
)
|
264 |
clear_button.click(
|
265 |
+
lambda x: [gr.update(value=None)] * 9,
|
266 |
[],
|
267 |
[
|
|
|
268 |
input_hardness,
|
269 |
input_yield_strength,
|
270 |
+
metals_constraints,
|
271 |
+
optimal_formula,
|
272 |
+
optimal_processing_method,
|
273 |
+
density, young_modulus,
|
274 |
+
microstructure, phase
|
275 |
],
|
276 |
)
|
277 |
|