Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,14 +6,16 @@ models = [
|
|
| 6 |
"nitrosocke/Arcane-Diffusion",
|
| 7 |
"nitrosocke/archer-diffusion",
|
| 8 |
"nitrosocke/elden-ring-diffusion",
|
| 9 |
-
"nitrosocke/spider-verse-diffusion"
|
|
|
|
| 10 |
]
|
| 11 |
|
| 12 |
prompt_prefixes = {
|
| 13 |
models[0]: "arcane style ",
|
| 14 |
models[1]: "archer style ",
|
| 15 |
models[2]: "elden ring style ",
|
| 16 |
-
models[3]: "spiderverse style "
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
current_model = models[0]
|
|
@@ -78,8 +80,8 @@ with gr.Blocks() as demo:
|
|
| 78 |
gr.Examples([
|
| 79 |
["jason bateman disassembling the demon core", 7.5, 50],
|
| 80 |
["portrait of dwayne johnson", 7.0, 75],
|
| 81 |
-
["portrait of a beautiful alyx vance half life",
|
| 82 |
-
["Aloy from Horizon: Zero Dawn, half body portrait, smooth, detailed armor, beautiful face, illustration", 7,
|
| 83 |
["fantasy portrait painting, digital art", 4, 30],
|
| 84 |
], [prompt, guidance, steps], image_out, inference, cache_examples=torch.cuda.is_available())
|
| 85 |
gr.HTML('''
|
|
|
|
| 6 |
"nitrosocke/Arcane-Diffusion",
|
| 7 |
"nitrosocke/archer-diffusion",
|
| 8 |
"nitrosocke/elden-ring-diffusion",
|
| 9 |
+
"nitrosocke/spider-verse-diffusion",
|
| 10 |
+
"nitrosocke/modern-disney-diffusion"
|
| 11 |
]
|
| 12 |
|
| 13 |
prompt_prefixes = {
|
| 14 |
models[0]: "arcane style ",
|
| 15 |
models[1]: "archer style ",
|
| 16 |
models[2]: "elden ring style ",
|
| 17 |
+
models[3]: "spiderverse style ",
|
| 18 |
+
models[4]: "modern disney style "
|
| 19 |
}
|
| 20 |
|
| 21 |
current_model = models[0]
|
|
|
|
| 80 |
gr.Examples([
|
| 81 |
["jason bateman disassembling the demon core", 7.5, 50],
|
| 82 |
["portrait of dwayne johnson", 7.0, 75],
|
| 83 |
+
["portrait of a beautiful alyx vance half life", 10, 50],
|
| 84 |
+
["Aloy from Horizon: Zero Dawn, half body portrait, smooth, detailed armor, beautiful face, illustration", 7, 45],
|
| 85 |
["fantasy portrait painting, digital art", 4, 30],
|
| 86 |
], [prompt, guidance, steps], image_out, inference, cache_examples=torch.cuda.is_available())
|
| 87 |
gr.HTML('''
|