Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ models = [
|
|
7 |
]
|
8 |
|
9 |
prompt_prefixes = {
|
10 |
-
models[0]: "
|
11 |
}
|
12 |
|
13 |
current_model = models[0]
|
@@ -70,10 +70,10 @@ with gr.Blocks() as demo:
|
|
70 |
model.change(on_model_change, inputs=model, outputs=[])
|
71 |
run.click(inference, inputs=[prompt, guidance, steps], outputs=image_out)
|
72 |
gr.Examples([
|
73 |
-
["a beautiful perfect face girl
|
74 |
-
["
|
75 |
-
["portrait of liu yifei girl
|
76 |
-
["portrait of
|
77 |
7.5, 27],
|
78 |
], [prompt, guidance, steps], image_out, inference, cache_examples=torch.cuda.is_available())
|
79 |
gr.Markdown('''
|
|
|
7 |
]
|
8 |
|
9 |
prompt_prefixes = {
|
10 |
+
models[0]: "dgs illustration style "
|
11 |
}
|
12 |
|
13 |
current_model = models[0]
|
|
|
70 |
model.change(on_model_change, inputs=model, outputs=[])
|
71 |
run.click(inference, inputs=[prompt, guidance, steps], outputs=image_out)
|
72 |
gr.Examples([
|
73 |
+
["a beautiful perfect face girl, Anime fine details portrait of school girl in front of modern tokyo city landscape on the background deep bokeh, anime masterpiece by studio ghibli, 8k, sharp high quality anime, artstation", 7.5, 27],
|
74 |
+
["landscape with fancy car", 7.5, 27],
|
75 |
+
["portrait of liu yifei girl, soldier working in a cyberpunk city, cleavage, intricate, 8k, highly detailed, digital painting, intense, sharp focus", 7.5, 27],
|
76 |
+
["portrait of a soldier working in a cyberpunk city, cleavage, intricate, 8k, highly detailed, digital painting, intense, sharp focus",
|
77 |
7.5, 27],
|
78 |
], [prompt, guidance, steps], image_out, inference, cache_examples=torch.cuda.is_available())
|
79 |
gr.Markdown('''
|