svjack commited on
Commit
bf3cff0
·
1 Parent(s): 386e5fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -101,8 +101,8 @@ with block:
101
  gr.Markdown("This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/ControlLoRA-Chinese](https://github.com/svjack/ControlLoRA-Chinese)</h4></b>\n")
102
  with gr.Row():
103
  with gr.Column():
104
- input_image = gr.Image(source='upload', type="numpy", value = "Protector_Cromwell_style.png")
105
- prompt = gr.Textbox(label="Prompt", value = "一个表情俏皮的小丑")
106
  run_button = gr.Button(label="Run")
107
  with gr.Accordion("Advanced options", open=False):
108
  num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
@@ -113,7 +113,7 @@ with block:
113
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=9.0, step=0.1)
114
  seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, randomize=True)
115
  eta = gr.Number(label="eta", value=0.0)
116
- a_prompt = gr.Textbox(label="Added Prompt", value='详细的模拟混合媒体拼贴画,帆布质地的当代艺术风格,朋克艺术,逼真主义,感性的身体,表现主义,极简主义。杰作,完美的组成,逼真的美丽的脸')
117
  n_prompt = gr.Textbox(label="Negative Prompt",
118
  value='低质量,模糊,混乱')
119
  with gr.Column():
 
101
  gr.Markdown("This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/ControlLoRA-Chinese](https://github.com/svjack/ControlLoRA-Chinese)</h4></b>\n")
102
  with gr.Row():
103
  with gr.Column():
104
+ input_image = gr.Image(source='upload', type="numpy", value = "hate_dog.png")
105
+ prompt = gr.Textbox(label="Prompt", value = "可爱的狗宝宝")
106
  run_button = gr.Button(label="Run")
107
  with gr.Accordion("Advanced options", open=False):
108
  num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
 
113
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=9.0, step=0.1)
114
  seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, randomize=True)
115
  eta = gr.Number(label="eta", value=0.0)
116
+ a_prompt = gr.Textbox(label="Added Prompt", value='')
117
  n_prompt = gr.Textbox(label="Negative Prompt",
118
  value='低质量,模糊,混乱')
119
  with gr.Column():