tori29umai commited on
Commit
4469e93
1 Parent(s): f091221
Files changed (1) hide show
  1. app.py +5 -11
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
- with gr.Column():
83
- with gr.Row():
84
- self.prompt = gr.Textbox(label="prompt", lines=3)
85
- with gr.Row():
86
- 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")
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