rhfeiyang commited on
Commit
80b528e
·
1 Parent(s): acb4c4f
Files changed (1) hide show
  1. hf_demo.py +3 -3
hf_demo.py CHANGED
@@ -115,9 +115,9 @@ with block:
115
  gr.Markdown("(More features in development...)")
116
  with gr.Row():
117
  text = gr.Textbox(
118
- label="Enter your prompt(long and detailed would be better):",
119
  max_lines=2,
120
- placeholder="Enter your prompt(long and detailed would be better)",
121
  container=True,
122
  value="Park with cherry blossom trees, picnicker’s and a clear blue pond.",
123
  )
@@ -218,7 +218,7 @@ with block:
218
 
219
  with gr.Row():
220
  steps = gr.Slider(label="Steps", minimum=1, maximum=50, value=20, step=1)
221
- adapter_scale = gr.Slider(label="Stylization Scale", minimum=0, maximum=1.5, value=1., step=0.1, scale=1)
222
 
223
  with gr.Row():
224
  seed = gr.Slider(label="Seed",minimum=0,maximum=2147483647,step=1,randomize=True,scale=1)
 
115
  gr.Markdown("(More features in development...)")
116
  with gr.Row():
117
  text = gr.Textbox(
118
+ label="Enter your prompt (long and detailed would be better):",
119
  max_lines=2,
120
+ placeholder="Enter your prompt (long and detailed would be better)",
121
  container=True,
122
  value="Park with cherry blossom trees, picnicker’s and a clear blue pond.",
123
  )
 
218
 
219
  with gr.Row():
220
  steps = gr.Slider(label="Steps", minimum=1, maximum=50, value=20, step=1)
221
+ adapter_scale = gr.Slider(label="Adapter Scale", minimum=0, maximum=1.5, value=1., step=0.1, scale=1)
222
 
223
  with gr.Row():
224
  seed = gr.Slider(label="Seed",minimum=0,maximum=2147483647,step=1,randomize=True,scale=1)