jithenderchoudary commited on
Commit
3b7f993
·
verified ·
1 Parent(s): 120c870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,9 +68,9 @@ app.launch()
68
  # fatigue_strength = gr.Number(label="Fatigue Strength (MPa)", value=150)
69
 
70
  #safety_factor_output = gr.Textbox(label="Safety Factor")
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],
 
68
  # fatigue_strength = gr.Number(label="Fatigue Strength (MPa)", value=150)
69
 
70
  #safety_factor_output = gr.Textbox(label="Safety Factor")
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],