zhiweili
commited on
Commit
Β·
e4c1258
1
Parent(s):
c51baca
fix gr
Browse files- app_onediff.py +1 -1
app_onediff.py
CHANGED
@@ -80,7 +80,7 @@ def create_demo() -> gr.Blocks:
|
|
80 |
with gr.Column():
|
81 |
prompt = gr.Textbox(label="Prompt", placeholder="Write a prompt here", lines=2, value="A beautiful sunset over the city")
|
82 |
with gr.Column():
|
83 |
-
steps = gr.Slider(
|
84 |
g_btn = gr.Button("Generate")
|
85 |
|
86 |
with gr.Row():
|
|
|
80 |
with gr.Column():
|
81 |
prompt = gr.Textbox(label="Prompt", placeholder="Write a prompt here", lines=2, value="A beautiful sunset over the city")
|
82 |
with gr.Column():
|
83 |
+
steps = gr.Slider(minimum=1, maximum=100, value=5, step=1, label="Num Steps")
|
84 |
g_btn = gr.Button("Generate")
|
85 |
|
86 |
with gr.Row():
|