tori29umai commited on
Commit
9dd0c66
·
verified ·
1 Parent(s): a40d84e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -79,9 +79,11 @@ class Img2Img:
79
  }
80
  """
81
  with gr.Blocks(css=css) as demo:
 
 
 
82
  with gr.Row():
83
  with gr.Column(scale=1):
84
- gr.Markdown("### Stickman to Posing Doll Image Converter\nこのアプリは棒人間をポーズ人形画像に変換するアプリです。\n入力する棒人間の形状は以下のリンクを参考にしてください。\n[VRoid Hub Character Example](https://hub.vroid.com/characters/4765753841994800453/models/6738034259079048708)\nIf your stick figure resembles the linked shape, it should work reasonably well even if hand-drawn.")
85
  self.input_image_path = gr.Image(label="Input Image", type='filepath')
86
  self.prompt = gr.Textbox(label="Prompt", lines=3)
87
  self.negative_prompt = gr.Textbox(label="Negative Prompt", lines=3, value="nsfw, nipples, bad anatomy, liquid fingers, low quality, worst quality, out of focus, ugly, error, jpeg artifacts, lowers, blurry, bokeh")
 
79
  }
80
  """
81
  with gr.Blocks(css=css) as demo:
82
+ with gr.Row():
83
+ gr.Image(value="title.png", label="Title Image")
84
+ gr.Markdown("### Stickman to Posing Doll Image Converter\n\nこのアプリは棒人間をポーズ人形画像に変換するアプリです。入力する棒人間の形状は以下のリンクを参考にしてください。\n[VRoid Hub Character Example](https://hub.vroid.com/characters/4765753841994800453/models/6738034259079048708)\n\nIf your stick figure resembles the linked shape, it should work reasonably well even if hand-drawn.")
85
  with gr.Row():
86
  with gr.Column(scale=1):
 
87
  self.input_image_path = gr.Image(label="Input Image", type='filepath')
88
  self.prompt = gr.Textbox(label="Prompt", lines=3)
89
  self.negative_prompt = gr.Textbox(label="Negative Prompt", lines=3, value="nsfw, nipples, bad anatomy, liquid fingers, low quality, worst quality, out of focus, ugly, error, jpeg artifacts, lowers, blurry, bokeh")