Spaces:
Paused
Paused
Update flux_train_ui.py
Browse files1 unmodified line2345678131 unmodified lines1401411421431441451 unmodified linefrom huggingface_hub import whoamios.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"import sys# Add the current working directory to the Python pathsys.path.insert(0, os.getcwd())131 unmodified linesd[k] = vreturn ddef start_training(lora_name,concept_sentence,1 unmodified line2345678131 unmodified lines1401411421431441451461471481491501511521531541551561571581591601611621 unmodified linefrom huggingface_hub import whoamios.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"import sysimport spaces# Add the current working directory to the Python pathsys.path.insert(0, os.getcwd())131 unmodified linesd[k] = vreturn ddef get_duration( lora_name,concept_sentence,steps,lr,rank,model_to_train,low_vram,dataset_folder,sample_1,sample_2,sample_3,use_more_advanced_options,more_advanced_options,):return total_second_length * 60@spaces.GPU(duration=get_duration)def start_training(lora_name,concept_sentence,
flux_train_ui.py+18-1