Spaces:
Runtime error
Runtime error
Commit
·
7f24f0a
1
Parent(s):
b31df7f
Update app.py
Browse files
app.py
CHANGED
@@ -703,7 +703,7 @@ def generate_image(prompt):
|
|
703 |
elif "zombieland" in prompt:
|
704 |
output_url = random.choice(zombieland)
|
705 |
else:
|
706 |
-
return
|
707 |
|
708 |
image = load_image(output_url)
|
709 |
return image
|
|
|
703 |
elif "zombieland" in prompt:
|
704 |
output_url = random.choice(zombieland)
|
705 |
else:
|
706 |
+
return NameError
|
707 |
|
708 |
image = load_image(output_url)
|
709 |
return image
|