Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def predict(prompt, guidance, steps, seed=1231231):
|
|
| 91 |
|
| 92 |
# Save the image
|
| 93 |
if len(results.images) > 0:
|
| 94 |
-
image_path = os.path.join("
|
| 95 |
results.images[0].save(image_path)
|
| 96 |
print(f"#Image saved as {image_path}")
|
| 97 |
|
|
|
|
| 91 |
|
| 92 |
# Save the image
|
| 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 |
|