Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -276,7 +276,7 @@ with gr.Blocks(css=css) as demo:
|
|
276 |
|
277 |
use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
|
278 |
|
279 |
-
with gr.Box():
|
280 |
with gr.Row():
|
281 |
with gr.Column():
|
282 |
if not is_shared_ui:
|
@@ -318,8 +318,9 @@ with gr.Blocks(css=css) as demo:
|
|
318 |
elem_id = "status_info"
|
319 |
)
|
320 |
trigger_word = gr.Textbox(label="Trigger word", interactive=False, visible=False)
|
321 |
-
|
322 |
-
|
|
|
323 |
|
324 |
submit_btn = gr.Button("Submit")
|
325 |
|
|
|
276 |
|
277 |
use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
|
278 |
|
279 |
+
with gr.Box(visible=True) as custom_model_box:
|
280 |
with gr.Row():
|
281 |
with gr.Column():
|
282 |
if not is_shared_ui:
|
|
|
318 |
elem_id = "status_info"
|
319 |
)
|
320 |
trigger_word = gr.Textbox(label="Trigger word", interactive=False, visible=False)
|
321 |
+
|
322 |
+
with gr.Column():
|
323 |
+
custom_lora_weight = gr.Slider(label="Custom model weights", minimum=0.1, maximum=0.9, step=0.1, value=0.9)
|
324 |
|
325 |
submit_btn = gr.Button("Submit")
|
326 |
|