jithenderchoudary commited on
Commit
4fac94a
·
verified ·
1 Parent(s): dbdbdea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,11 +35,11 @@ with gr.Blocks() as app:
35
  #thickness = gr.Number(label="Thickness (mm)", value=10)
36
 
37
  # Outputs: STEP file location and 3D visualization image
38
- die_output = gr.Textbox(label="STEP File Location")
39
- visualization_output = gr.Image(label="3D Visualization")
40
 
41
  # Button to generate die and visualization
42
- die_button = gr.Button("Generate Die")
43
 
44
  # Connect the button to both functions
45
  def generate_outputs(l, w, t):
@@ -51,7 +51,7 @@ with gr.Blocks() as app:
51
  generate_outputs,
52
  inputs=[length, width, thickness],
53
  outputs=[die_output, visualization_output],
54
- )
55
 
56
  # Launch the app
57
  #app.launch()
 
35
  #thickness = gr.Number(label="Thickness (mm)", value=10)
36
 
37
  # Outputs: STEP file location and 3D visualization image
38
+ #die_output = gr.Textbox(label="STEP File Location")
39
+ # visualization_output = gr.Image(label="3D Visualization")
40
 
41
  # Button to generate die and visualization
42
+ #die_button = gr.Button("Generate Die")
43
 
44
  # Connect the button to both functions
45
  def generate_outputs(l, w, t):
 
51
  generate_outputs,
52
  inputs=[length, width, thickness],
53
  outputs=[die_output, visualization_output],
54
+ # )
55
 
56
  # Launch the app
57
  #app.launch()