chaojiemao commited on
Commit
b198a0a
1 Parent(s): 1828f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -394,7 +394,7 @@ class ChatBotUI(object):
394
  label='Rescale')
395
  self.refiner_scale = gr.Slider(minimum=-0.1,
396
  maximum=1.0,
397
- value=self.pipe.input.get("refiner_scale", 0.5),
398
  visible=self.pipe.input.get("refiner_scale", None) is not None,
399
  label='Refiner Scale')
400
  self.seed = gr.Slider(minimum=-1,
@@ -563,7 +563,7 @@ class ChatBotUI(object):
563
  value=self.pipe.input.get("refiner_prompt", ""),
564
  visible=self.pipe.input.get("refiner_prompt", None) is not None),
565
  gr.Slider(
566
- value=self.pipe.input.get("refiner_scale", 0.5),
567
  visible=self.pipe.input.get("refiner_scale", None) is not None
568
  ),
569
  gr.Checkbox(
 
394
  label='Rescale')
395
  self.refiner_scale = gr.Slider(minimum=-0.1,
396
  maximum=1.0,
397
+ value=self.pipe.input.get("refiner_scale", -1),
398
  visible=self.pipe.input.get("refiner_scale", None) is not None,
399
  label='Refiner Scale')
400
  self.seed = gr.Slider(minimum=-1,
 
563
  value=self.pipe.input.get("refiner_prompt", ""),
564
  visible=self.pipe.input.get("refiner_prompt", None) is not None),
565
  gr.Slider(
566
+ value=self.pipe.input.get("refiner_scale", -1),
567
  visible=self.pipe.input.get("refiner_scale", None) is not None
568
  ),
569
  gr.Checkbox(