Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartvauder committed Oct 5, 2024
1 parent 091d091 commit 9466cbc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions LaunchFile/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8859,7 +8859,9 @@ def reload_model_lists():

text_files, image_files, video_files, audio_files, model3d_files, _ = get_output_files()

return [llm_models_list, llm_lora_models_list, speaker_wavs_list, stable_diffusion_models_list, vae_models_list, lora_models_list, quantized_flux_models_list, flux_lora_models_list, auraflow_lora_models_list, kolors_lora_models_list, textual_inversion_models_list, inpaint_models_list, rvc_models_list, text_files, image_files, video_files, audio_files, model3d_files]
chat_files, _ = get_existing_chats()

return [llm_models_list, llm_lora_models_list, speaker_wavs_list, stable_diffusion_models_list, vae_models_list, lora_models_list, quantized_flux_models_list, flux_lora_models_list, auraflow_lora_models_list, kolors_lora_models_list, textual_inversion_models_list, inpaint_models_list, rvc_models_list, text_files, image_files, video_files, audio_files, model3d_files, chat_files]


def reload_interface():
Expand Down Expand Up @@ -11523,7 +11525,8 @@ def reload_interface():
dropdowns_to_update = [
chat_interface.input_components[4],
chat_interface.input_components[5],
chat_interface.input_components[40],
chat_interface.input_components[6],
chat_interface.input_components[41],
tts_stt_interface.input_components[3],
txt2img_interface.input_components[2],
txt2img_interface.input_components[4],
Expand Down

0 comments on commit 9466cbc

Please sign in to comment.