Upload gradio_s3diff.py
Browse files- src/gradio_s3diff.py +2 -1
src/gradio_s3diff.py
CHANGED
@@ -146,7 +146,8 @@ with block:
|
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
input_image = gr.Image(type="pil")
|
149 |
-
run_button = gr.Button(label="Run"
|
|
|
150 |
with gr.Accordion("Options", open=True):
|
151 |
cfg_scale = gr.Slider(label="Classifier Free Guidance Scale (Set a value larger than 1 to enable it!)", minimum=1.0, maximum=1.1, value=1.07, step=0.01)
|
152 |
scale_factor = gr.Number(label="SR Scale", value=4)
|
|
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
input_image = gr.Image(type="pil")
|
149 |
+
run_button = gr.Button("Run") # `label="Run"` を削除してボタンのテキストを直接渡す
|
150 |
+
|
151 |
with gr.Accordion("Options", open=True):
|
152 |
cfg_scale = gr.Slider(label="Classifier Free Guidance Scale (Set a value larger than 1 to enable it!)", minimum=1.0, maximum=1.1, value=1.07, step=0.01)
|
153 |
scale_factor = gr.Number(label="SR Scale", value=4)
|