Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,7 +160,7 @@ def edit(init_image, source_prompt, target_prompt, num_steps, inject_step, guida
|
|
| 160 |
exif_data[ExifTags.Base.Model] = name
|
| 161 |
if add_sampling_metadata:
|
| 162 |
exif_data[ExifTags.Base.ImageDescription] = source_prompt
|
| 163 |
-
img.save(fn, exif=exif_data, quality=95, subsampling=0)
|
| 164 |
|
| 165 |
print("End Edit")
|
| 166 |
return img
|
|
|
|
| 160 |
exif_data[ExifTags.Base.Model] = name
|
| 161 |
if add_sampling_metadata:
|
| 162 |
exif_data[ExifTags.Base.ImageDescription] = source_prompt
|
| 163 |
+
# img.save(fn, exif=exif_data, quality=95, subsampling=0)
|
| 164 |
|
| 165 |
print("End Edit")
|
| 166 |
return img
|