Spaces:
Runtime error
Runtime error
Change default image multiplier value
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ with gr.Blocks(css=css) as demo:
|
|
181 |
share_button = gr.Button("π€ Share to Community (opens new window)", elem_id="share-btn")
|
182 |
|
183 |
with gr.Column(scale=0.3, min_width=400):
|
184 |
-
ret_scale_factor = gr.Slider(minimum=0.0, maximum=3.0, value=1.
|
185 |
label="Frequency multiplier for returning images (higher means more frequent)")
|
186 |
# max_ret_images = gr.Number(
|
187 |
# minimum=0, maximum=3, value=2, precision=1, interactive=True, label="Max images to return")
|
|
|
181 |
share_button = gr.Button("π€ Share to Community (opens new window)", elem_id="share-btn")
|
182 |
|
183 |
with gr.Column(scale=0.3, min_width=400):
|
184 |
+
ret_scale_factor = gr.Slider(minimum=0.0, maximum=3.0, value=1.3, step=0.1, interactive=True,
|
185 |
label="Frequency multiplier for returning images (higher means more frequent)")
|
186 |
# max_ret_images = gr.Number(
|
187 |
# minimum=0, maximum=3, value=2, precision=1, interactive=True, label="Max images to return")
|