Spaces:
mikitona
/
Running on Zero

mikitona commited on
Commit
0d6e78f
·
verified ·
1 Parent(s): 43d64ed

Upload gradio_s3diff.py

Browse files
Files changed (1) hide show
  1. 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)