Update app.py
Browse files
app.py
CHANGED
@@ -34,12 +34,12 @@ with demo:
|
|
34 |
with gr.Row():
|
35 |
with gr.Column():
|
36 |
with gr.Row():
|
37 |
-
model = gr.Dropdown(["shanshui_gen_style", "shanshui_style"], label="Model"
|
38 |
with gr.Row():
|
39 |
-
prompt = gr.Textbox(label='
|
40 |
with gr.Row():
|
41 |
-
width = gr.Slider(128, 768, value=512, step=8, label="Width"
|
42 |
-
height = gr.Slider(128, 768, value=512, step=8, label="Height"
|
43 |
with gr.Row():
|
44 |
num_inference_steps = gr.Textbox(label='num inference steps')
|
45 |
guidance_scale = gr.Textbox(label='guidance scale')
|
@@ -54,17 +54,17 @@ with demo:
|
|
54 |
[
|
55 |
"shanshui_gen_style",
|
56 |
"A fantasy landscape in <shanshui-gen-style>",
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
7.5,
|
61 |
],
|
62 |
[
|
63 |
"shanshui_style",
|
64 |
"A fantasy landscape in <shanshui-style>",
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
7.5,
|
69 |
],
|
70 |
],
|
|
|
34 |
with gr.Row():
|
35 |
with gr.Column():
|
36 |
with gr.Row():
|
37 |
+
model = gr.Dropdown(["shanshui_gen_style", "shanshui_style"], label="Model")
|
38 |
with gr.Row():
|
39 |
+
prompt = gr.Textbox(label='Prompt')
|
40 |
with gr.Row():
|
41 |
+
width = gr.Slider(128, 768, value=512, step=8, label="Width")
|
42 |
+
height = gr.Slider(128, 768, value=512, step=8, label="Height")
|
43 |
with gr.Row():
|
44 |
num_inference_steps = gr.Textbox(label='num inference steps')
|
45 |
guidance_scale = gr.Textbox(label='guidance scale')
|
|
|
54 |
[
|
55 |
"shanshui_gen_style",
|
56 |
"A fantasy landscape in <shanshui-gen-style>",
|
57 |
+
256,
|
58 |
+
144,
|
59 |
+
50,
|
60 |
7.5,
|
61 |
],
|
62 |
[
|
63 |
"shanshui_style",
|
64 |
"A fantasy landscape in <shanshui-style>",
|
65 |
+
256,
|
66 |
+
144,
|
67 |
+
50,
|
68 |
7.5,
|
69 |
],
|
70 |
],
|