(version)
| 295 | |
| 296 | |
| 297 | def diable_export(version): |
| 298 | if version == "Default": |
| 299 | return ( |
| 300 | gr.update(visible=False), |
| 301 | gr.update(visible=True), |
| 302 | gr.update(visible=False), |
| 303 | ) |
| 304 | else: |
| 305 | return ( |
| 306 | gr.update(visible=True), |
| 307 | gr.update(visible=False), |
| 308 | gr.update(visible=True), |
| 309 | ) |
| 310 | |
| 311 | |
| 312 | def disable_lora_export(lora): |