Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -124,12 +124,11 @@ def get_prompt_for_image(image_name):
|
|
124 |
image_path = DATA_PATH / image_name
|
125 |
|
126 |
if image_path.exists():
|
127 |
-
|
128 |
-
|
129 |
except FileNotFoundError:
|
130 |
return "No hay prompt asociado"
|
131 |
return "No hay prompt asociado"
|
132 |
-
|
133 |
def display_gallery():
|
134 |
st.header("Galería de Imágenes Guardadas")
|
135 |
images = list_saved_images()
|
|
|
124 |
image_path = DATA_PATH / image_name
|
125 |
|
126 |
if image_path.exists():
|
127 |
+
return original_prompt
|
|
|
128 |
except FileNotFoundError:
|
129 |
return "No hay prompt asociado"
|
130 |
return "No hay prompt asociado"
|
131 |
+
|
132 |
def display_gallery():
|
133 |
st.header("Galería de Imágenes Guardadas")
|
134 |
images = list_saved_images()
|