Spaces:
Running
on
Zero
Running
on
Zero
chaojiemao
commited on
Commit
•
b198a0a
1
Parent(s):
1828f85
Update app.py
Browse files
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",
|
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",
|
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(
|