Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,8 +72,8 @@ app.launch()
|
|
| 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 |
-
|
| 76 |
-
|
| 77 |
)
|
| 78 |
|
| 79 |
with gr.Tab("Tool Optimization"):
|
|
|
|
| 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 |
)
|
| 78 |
|
| 79 |
with gr.Tab("Tool Optimization"):
|