gangli71 commited on
Commit
741fd5f
·
verified ·
1 Parent(s): 82334cd

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -228,7 +228,7 @@ st.write("")
228
  st.write("")
229
  st.write(r"$\textsf{\textbf{\Large Injection Molding Requirements}}$")
230
 
231
- col1_row1, col2_row1, col3_row1, col4_row1 = st.columns([0.25,0.25,0.25,0.25])
232
  with col1_row1:
233
  with st.container(border=False): # Container with a border
234
  angleA= st.number_input("Maximum warpage angle A (degree):", format="%.2f", width=300, value=1.0, key="A", on_change=AM_typed_in)
@@ -241,8 +241,8 @@ with col2_row1:
241
 
242
  with col3_row1:
243
  with st.container(border=False): # Container with a border
244
- image = Image.open('figures/Hat_Section_AM1.png')
245
- new_image = image.resize((350, 200))
246
  st.image(new_image, caption='')
247
 
248
  with col4_row1:
 
228
  st.write("")
229
  st.write(r"$\textsf{\textbf{\Large Injection Molding Requirements}}$")
230
 
231
+ col1_row1, col2_row1, col3_row1, col4_row1 = st.columns([0.25,0.25,0.15,0.25])
232
  with col1_row1:
233
  with st.container(border=False): # Container with a border
234
  angleA= st.number_input("Maximum warpage angle A (degree):", format="%.2f", width=300, value=1.0, key="A", on_change=AM_typed_in)
 
241
 
242
  with col3_row1:
243
  with st.container(border=False): # Container with a border
244
+ image = Image.open('figures/image001.png')
245
+ new_image = image.resize((150, 200))
246
  st.image(new_image, caption='')
247
 
248
  with col4_row1: