Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def predict(prompt, guidance, steps, seed=1231231):
|
|
90 |
if len(results.images) > 0:
|
91 |
image_path = os.path.join("path_to_save", filename) # Specify your directory
|
92 |
results.images[0].save(image_path)
|
93 |
-
|
94 |
|
95 |
return results.images[0] if len(results.images) > 0 else None
|
96 |
|
|
|
90 |
if len(results.images) > 0:
|
91 |
image_path = os.path.join("path_to_save", filename) # Specify your directory
|
92 |
results.images[0].save(image_path)
|
93 |
+
gr.Markdown(f"#Image saved as {image_path}")
|
94 |
|
95 |
return results.images[0] if len(results.images) > 0 else None
|
96 |
|