Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ app.launch()
|
|
| 71 |
# stress_chart = gr.Plot()
|
| 72 |
# stress_button = gr.Button("Analyze Stress")
|
| 73 |
# stress_button.click(
|
| 74 |
-
|
| 75 |
inputs=[force, die_width, die_height, material_strength, temperature_change, alpha, elastic_modulus, fatigue_strength],
|
| 76 |
outputs=[safety_factor_output, stress_chart],
|
| 77 |
)
|
|
|
|
| 71 |
# stress_chart = gr.Plot()
|
| 72 |
# stress_button = gr.Button("Analyze Stress")
|
| 73 |
# stress_button.click(
|
| 74 |
+
# lambda f, dw, dh, ms, tc, a, em, fs: stress_analysis(f, dw, dh, ms, tc, a, em, fs),
|
| 75 |
inputs=[force, die_width, die_height, material_strength, temperature_change, alpha, elastic_modulus, fatigue_strength],
|
| 76 |
outputs=[safety_factor_output, stress_chart],
|
| 77 |
)
|