Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def generate(image, prompt, seed):
|
|
| 18 |
for item in contents:
|
| 19 |
print(item)
|
| 20 |
|
| 21 |
-
return f"output/{image_name}
|
| 22 |
except subprocess.CalledProcessError as e:
|
| 23 |
print("Error:", e.stderr)
|
| 24 |
return None
|
|
|
|
| 18 |
for item in contents:
|
| 19 |
print(item)
|
| 20 |
|
| 21 |
+
return f"output/{image_name}_0.jpg"
|
| 22 |
except subprocess.CalledProcessError as e:
|
| 23 |
print("Error:", e.stderr)
|
| 24 |
return None
|