Spaces:
Running
Running
Update sd.py
Browse files
sd.py
CHANGED
@@ -105,7 +105,7 @@ def generate_sd(prompt):
|
|
105 |
# Convert the path to use forward slashes
|
106 |
image_path = image_path.replace('\\', '/')
|
107 |
|
108 |
-
return image_data, image_path
|
109 |
else:
|
110 |
print("No images found in the response.")
|
111 |
return None, None, None
|
|
|
105 |
# Convert the path to use forward slashes
|
106 |
image_path = image_path.replace('\\', '/')
|
107 |
|
108 |
+
return image_data, image_path
|
109 |
else:
|
110 |
print("No images found in the response.")
|
111 |
return None, None, None
|