Spaces:
Running
Running
salomonsky
commited on
Commit
•
89d2a73
1
Parent(s):
9300241
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,6 @@ for idx, file in enumerate(files):
|
|
158 |
prompt_text = Path(prompt_file).read_text() if prompt_file else "No disponible"
|
159 |
st.image(image, caption=f"Imagen {idx+1}")
|
160 |
|
161 |
-
# Agregar botón para eliminar la imagen
|
162 |
if st.button(f"Eliminar Imagen {idx+1}", key=f"delete_{idx}"):
|
163 |
file.unlink()
|
164 |
st.experimental_rerun()
|
|
|
158 |
prompt_text = Path(prompt_file).read_text() if prompt_file else "No disponible"
|
159 |
st.image(image, caption=f"Imagen {idx+1}")
|
160 |
|
|
|
161 |
if st.button(f"Eliminar Imagen {idx+1}", key=f"delete_{idx}"):
|
162 |
file.unlink()
|
163 |
st.experimental_rerun()
|