Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def infer(name, pet, background, style, seed=42, randomize_seed=False, width=102
|
|
| 45 |
else:
|
| 46 |
place = intro + " in the forest "
|
| 47 |
|
| 48 |
-
if style == "
|
| 49 |
prompt = place + "holding a signal that says " + name + "in a photorealistic style"
|
| 50 |
elif style == "Cartoon":
|
| 51 |
prompt = place + "holding a signal that says " + name + "in a cartoon style"
|
|
|
|
| 45 |
else:
|
| 46 |
place = intro + " in the forest "
|
| 47 |
|
| 48 |
+
if style == "Photo":
|
| 49 |
prompt = place + "holding a signal that says " + name + "in a photorealistic style"
|
| 50 |
elif style == "Cartoon":
|
| 51 |
prompt = place + "holding a signal that says " + name + "in a cartoon style"
|