Repcak00 commited on
Commit
f754da4
verified
1 Parent(s): 81bf2d8

feat: change models' order, change image width

Browse files
Files changed (1) hide show
  1. src/app.py +4 -4
src/app.py CHANGED
@@ -26,8 +26,8 @@ with col_b:
26
  model_choice = st.selectbox(
27
  "Model AI:",
28
  [
 
29
  "birefnet-general-lite",
30
- "birefnet-general",
31
  "birefnet-dis", # Best for objects with holes
32
  "isnet-general-use",
33
  "u2net",
@@ -113,7 +113,7 @@ if uploaded_files:
113
 
114
  # Wy艣wietlanie wynik贸w w siatce
115
  st.markdown("---")
116
- st.subheader("Wyniki")
117
 
118
  # Pokazuj obrazy parami
119
  for img_data in processed_images:
@@ -121,11 +121,11 @@ if uploaded_files:
121
 
122
  with col1:
123
  st.text(f"Orygina艂: {img_data['name']}")
124
- st.image(img_data["original"], width="stretch")
125
 
126
  with col2:
127
  st.text(f"Po przetworzeniu: {img_data['name']}")
128
- st.image(img_data["processed"], width="stretch")
129
 
130
  st.markdown("---")
131
 
 
26
  model_choice = st.selectbox(
27
  "Model AI:",
28
  [
29
+ "birefnet-general (wolniejszy, ale bardziej precyzyjny)",
30
  "birefnet-general-lite",
 
31
  "birefnet-dis", # Best for objects with holes
32
  "isnet-general-use",
33
  "u2net",
 
113
 
114
  # Wy艣wietlanie wynik贸w w siatce
115
  st.markdown("---")
116
+ st.subheader("Podgl膮d wynik贸w")
117
 
118
  # Pokazuj obrazy parami
119
  for img_data in processed_images:
 
121
 
122
  with col1:
123
  st.text(f"Orygina艂: {img_data['name']}")
124
+ st.image(img_data["original"], width=700) # width="content")
125
 
126
  with col2:
127
  st.text(f"Po przetworzeniu: {img_data['name']}")
128
+ st.image(img_data["processed"], width=700)
129
 
130
  st.markdown("---")
131