Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 142 |
|
| 143 |
# Показывать/скрывать секцию IP-adapter в зависимости от модели
|
| 144 |
model_id.change(
|
| 145 |
-
fn=lambda x: print(x), gr.update(visible=is_lora(x)),
|
| 146 |
inputs=model_id,
|
| 147 |
outputs=lora_section
|
| 148 |
)
|
|
|
|
| 142 |
|
| 143 |
# Показывать/скрывать секцию IP-adapter в зависимости от модели
|
| 144 |
model_id.change(
|
| 145 |
+
fn=lambda x: print(x), # gr.update(visible=is_lora(x)),
|
| 146 |
inputs=model_id,
|
| 147 |
outputs=lora_section
|
| 148 |
)
|