ifw-arz commited on
Commit
de8ce68
1 Parent(s): 0bf779a
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -68,7 +68,8 @@ def main():
68
  st.write("")
69
  col1, col2 = st.columns([0.5, 1])
70
  with col1: st.image("assets/ProKI_Logo.png", width=200)
71
- with col2: st.markdown("<h2 style='text-align: right; color: black; font-family:Arial;font-size:2.25rem;'>Assistenzsystem</h2>", unsafe_allow_html=True)
 
72
 
73
 
74
  tab1, tab2 = st.tabs(["Modellierung der Bauteilqualität", "Klassifizierungsergebnisse"])
@@ -96,18 +97,18 @@ def main():
96
  with col3:
97
  st.write("")
98
 
99
- st.image("assets/slice.png", width=400)
100
 
101
  auswahl = st.radio("Merkmal", ["Vorschub", "Schnitttiefe", "Werkzeugverschleiß"], horizontal=True, index=0)
102
- width = 500
103
 
104
 
105
  if auswahl == "Vorschub":
106
- st.image("assets/max_Vorschub.PNG", width=width)
107
  elif auswahl == "Schnitttiefe":
108
- st.image("assets/max_Schnitttiefe.PNG", width=width)
109
  else:
110
- st.image("assets/max_Verschleiß.PNG", width=width)
111
 
112
  with tab2:
113
 
@@ -117,7 +118,7 @@ def main():
117
  with col1:
118
  try:
119
  fig = surface_plot(selected_file)
120
- fig.update_layout(height=800, width=1200)
121
  st.plotly_chart(fig, theme="streamlit", use_container_width=False)
122
  except:
123
  pass
 
68
  st.write("")
69
  col1, col2 = st.columns([0.5, 1])
70
  with col1: st.image("assets/ProKI_Logo.png", width=200)
71
+ with col2: st.image("assets/ProKI_Logo.png", width=200)
72
+ #with col2: st.markdown("<h2 style='text-align: right; color: black; font-family:Arial;font-size:2.25rem;'>Assistenzsystem</h2>", unsafe_allow_html=True)
73
 
74
 
75
  tab1, tab2 = st.tabs(["Modellierung der Bauteilqualität", "Klassifizierungsergebnisse"])
 
97
  with col3:
98
  st.write("")
99
 
100
+ st.image("assets/slice.png")
101
 
102
  auswahl = st.radio("Merkmal", ["Vorschub", "Schnitttiefe", "Werkzeugverschleiß"], horizontal=True, index=0)
103
+ #width = 500
104
 
105
 
106
  if auswahl == "Vorschub":
107
+ st.image("assets/max_Vorschub.PNG")
108
  elif auswahl == "Schnitttiefe":
109
+ st.image("assets/max_Schnitttiefe.PNG")
110
  else:
111
+ st.image("assets/max_Verschleiß.PNG")
112
 
113
  with tab2:
114
 
 
118
  with col1:
119
  try:
120
  fig = surface_plot(selected_file)
121
+ fig.update_layout(height=300, width=400)
122
  st.plotly_chart(fig, theme="streamlit", use_container_width=False)
123
  except:
124
  pass