Update app.py
Browse files
app.py
CHANGED
@@ -25,15 +25,15 @@ def infer(prompt, negative_prompt, num_imgs_to_gen, num_steps, guidance_scale):
|
|
25 |
# pass function, input type for prompt, the output for multiple images
|
26 |
gr.Interface(
|
27 |
infer, [
|
28 |
-
gr.Textbox(label="Positive Prompt", value="a
|
29 |
-
gr.Textbox(label="Negative Prompt", value="ugly, low quality"),
|
30 |
gr.Slider(label='Number of gen image', minimum=1, maximum=4, value=1, step=1),
|
31 |
-
gr.Slider(label="Inference Steps",value=
|
32 |
-
gr.Number(label='Guidance scale', value=
|
33 |
], [
|
34 |
gr.Gallery(show_label=False),
|
35 |
],
|
36 |
title="Dreambooth Bioshock",
|
37 |
description = "This is a dreambooth model fine-tuned on images of Bioshock sceneries. To play with the demo, input the concept with {sks bskscnry}.",
|
38 |
-
examples = [["a cafe in sks bskscnry style, rendered in unreal engine, trending on art station", "", 2, 100, 7.5]],
|
39 |
cache_examples=True).launch()
|
|
|
25 |
# pass function, input type for prompt, the output for multiple images
|
26 |
gr.Interface(
|
27 |
infer, [
|
28 |
+
gr.Textbox(label="Positive Prompt", value="a cafe in sks bskscnry style, rendered in unreal engine, trending on art station, 8k, hyperfocus, hyperrealistic, saturated colors, art deco"),
|
29 |
+
gr.Textbox(label="Negative Prompt", value="ugly, low quality, blurry"),
|
30 |
gr.Slider(label='Number of gen image', minimum=1, maximum=4, value=1, step=1),
|
31 |
+
gr.Slider(label="Inference Steps",value=100),
|
32 |
+
gr.Number(label='Guidance scale', value=10),
|
33 |
], [
|
34 |
gr.Gallery(show_label=False),
|
35 |
],
|
36 |
title="Dreambooth Bioshock",
|
37 |
description = "This is a dreambooth model fine-tuned on images of Bioshock sceneries. To play with the demo, input the concept with {sks bskscnry}.",
|
38 |
+
examples = [["a cafe in sks bskscnry style, rendered in unreal engine, trending on art station, 8k, hyperfocus, hyperrealistic, saturated colors, art deco", "ugly, low quality, blurry", 2, 100, 7.5]],
|
39 |
cache_examples=True).launch()
|