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