hysts HF staff commited on
Commit
bf5ad47
1 Parent(s): e8fb2df
Files changed (2) hide show
  1. app_inference.py +2 -2
  2. app_training.py +1 -1
app_inference.py CHANGED
@@ -106,13 +106,13 @@ def create_inference_demo(pipe: InferencePipeline,
106
  maximum=100000,
107
  step=1,
108
  value=0)
109
- with gr.Accordion('Other Parameters', open=False):
110
  num_steps = gr.Slider(label='Number of Steps',
111
  minimum=0,
112
  maximum=100,
113
  step=1,
114
  value=50)
115
- guidance_scale = gr.Slider(label='CFG Scale',
116
  minimum=0,
117
  maximum=50,
118
  step=0.1,
 
106
  maximum=100000,
107
  step=1,
108
  value=0)
109
+ with gr.Accordion('Advanced options', open=False):
110
  num_steps = gr.Slider(label='Number of Steps',
111
  minimum=0,
112
  maximum=100,
113
  step=1,
114
  value=50)
115
+ guidance_scale = gr.Slider(label='Guidance scale',
116
  minimum=0,
117
  maximum=50,
118
  step=0.1,
app_training.py CHANGED
@@ -49,7 +49,7 @@ def create_training_demo(trainer: Trainer,
49
  hf_token = gr.Text(label='Hugging Face Write Token',
50
  type='password',
51
  visible=os.getenv('HF_TOKEN') is None)
52
- with gr.Accordion('Advanced settings', open=False):
53
  num_training_steps = gr.Number(
54
  label='Number of Training Steps',
55
  value=300,
 
49
  hf_token = gr.Text(label='Hugging Face Write Token',
50
  type='password',
51
  visible=os.getenv('HF_TOKEN') is None)
52
+ with gr.Accordion(label='Advanced options', open=False):
53
  num_training_steps = gr.Number(
54
  label='Number of Training Steps',
55
  value=300,