Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files- 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="
|
| 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)
|