Spaces:
Sleeping
Sleeping
replace gr.Box with gr.Group
Browse files
app.py
CHANGED
|
@@ -253,7 +253,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 253 |
|
| 254 |
use_custom_model = gr.Checkbox(label="Use a custom pre-trained LoRa model ? (optional)", value=False, info="To use a private model, you'll need to duplicate the space with your own access token.")
|
| 255 |
|
| 256 |
-
with gr.
|
| 257 |
with gr.Row():
|
| 258 |
with gr.Column():
|
| 259 |
if not is_shared_ui:
|
|
|
|
| 253 |
|
| 254 |
use_custom_model = gr.Checkbox(label="Use a custom pre-trained LoRa model ? (optional)", value=False, info="To use a private model, you'll need to duplicate the space with your own access token.")
|
| 255 |
|
| 256 |
+
with gr.Group(visible=False) as custom_model_box:
|
| 257 |
with gr.Row():
|
| 258 |
with gr.Column():
|
| 259 |
if not is_shared_ui:
|