kharismagp commited on
Commit
5bfd07f
·
verified ·
1 Parent(s): 90340d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,7 +113,7 @@ def main():
113
  st.image(image, use_container_width=True) # Updated parameter
114
 
115
  # Process image and display result
116
- with st.spinner("Removing background..."):
117
  result_image = process_image(image, model)
118
 
119
  with col2:
@@ -126,7 +126,7 @@ def main():
126
  st.download_button(
127
  label="Download hasil",
128
  data=buf.getvalue(),
129
- file_name="processed_image.png",
130
  mime="image/png"
131
  )
132
 
 
113
  st.image(image, use_container_width=True) # Updated parameter
114
 
115
  # Process image and display result
116
+ with st.spinner("Memproses hapus background..."):
117
  result_image = process_image(image, model)
118
 
119
  with col2:
 
126
  st.download_button(
127
  label="Download hasil",
128
  data=buf.getvalue(),
129
+ file_name="hasil_gambar.png",
130
  mime="image/png"
131
  )
132