Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
89846d1
1
Parent(s):
33ac91c
Update app.py
Browse files
app.py
CHANGED
@@ -80,45 +80,8 @@ with gr.Blocks() as myface:
|
|
80 |
#run.click(set_models, inputs=[model_name1, model_name2, model_name3, model_name4], outputs=[proc1,proc2,proc3,proc4])
|
81 |
#run.click(send_it, inputs=[prompt], outputs=[output1, output2, output3, output4])
|
82 |
|
83 |
-
|
84 |
-
with gr.Tab("Options"):
|
85 |
-
with gr.Group():
|
86 |
-
neg_prompt = gr.Textbox(
|
87 |
-
label="Negative prompt",
|
88 |
-
placeholder="What to exclude from the image",
|
89 |
-
)
|
90 |
-
|
91 |
-
n_images = gr.Slider(
|
92 |
-
label="Images", value=1, minimum=1, maximum=4, step=1
|
93 |
-
)
|
94 |
-
|
95 |
-
with gr.Row():
|
96 |
-
guidance = gr.Slider(
|
97 |
-
label="Guidance scale", value=7.5, maximum=15
|
98 |
-
)
|
99 |
-
steps = gr.Slider(
|
100 |
-
label="Steps", value=25, minimum=2, maximum=75, step=1
|
101 |
-
)
|
102 |
-
|
103 |
-
with gr.Row():
|
104 |
-
width = gr.Slider(
|
105 |
-
label="Width",
|
106 |
-
value=512,
|
107 |
-
minimum=64,
|
108 |
-
maximum=1024,
|
109 |
-
step=8,
|
110 |
-
)
|
111 |
-
height = gr.Slider(
|
112 |
-
label="Height",
|
113 |
-
value=512,
|
114 |
-
minimum=64,
|
115 |
-
maximum=1024,
|
116 |
-
step=8,
|
117 |
-
)
|
118 |
-
|
119 |
-
seed = gr.Slider(
|
120 |
0, 2147483647, label="Seed (0 = random)", value=0, step=1
|
121 |
-
)
|
122 |
|
123 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
124 |
|
|
|
80 |
#run.click(set_models, inputs=[model_name1, model_name2, model_name3, model_name4], outputs=[proc1,proc2,proc3,proc4])
|
81 |
#run.click(send_it, inputs=[prompt], outputs=[output1, output2, output3, output4])
|
82 |
|
83 |
+
seed = gr.Slider(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
0, 2147483647, label="Seed (0 = random)", value=0, step=1
|
|
|
85 |
|
86 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
87 |
|