Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
4469e93
1
Parent(s):
f091221
app.py
Browse files
app.py
CHANGED
@@ -79,17 +79,11 @@ class Img2Img:
|
|
79 |
with gr.Row():
|
80 |
with gr.Column():
|
81 |
self.input_image_path = gr.Image(label="input_image", type='filepath')
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
with gr.Row():
|
88 |
-
prompt_analysis_button = gr.Button("prompt解析")
|
89 |
-
with gr.Row():
|
90 |
-
self.controlnet_scale = gr.Slider(minimum=0.5, maximum=1.25, value=1.0, step=0.01, label="線画忠実度")
|
91 |
-
with gr.Row():
|
92 |
-
generate_button = gr.Button("生成")
|
93 |
with gr.Column():
|
94 |
self.output_image = gr.Image(type="pil", label="出力画像")
|
95 |
|
|
|
79 |
with gr.Row():
|
80 |
with gr.Column():
|
81 |
self.input_image_path = gr.Image(label="input_image", type='filepath')
|
82 |
+
self.prompt = gr.Textbox(label="prompt", lines=3)
|
83 |
+
self.negative_prompt = gr.Textbox(label="negative_prompt", lines=3, value="lowres, error, extra digit, fewer digits, cropped, worst quality,low quality, normal quality, jpeg artifacts, blurry")
|
84 |
+
prompt_analysis_button = gr.Button("prompt解析")
|
85 |
+
self.controlnet_scale = gr.Slider(minimum=0.5, maximum=1.25, value=1.0, step=0.01, label="線画忠実度")
|
86 |
+
generate_button = gr.Button("生成")
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
with gr.Column():
|
88 |
self.output_image = gr.Image(type="pil", label="出力画像")
|
89 |
|