Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("
|
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="
|
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 |
|