Nekochu commited on
Commit
9151fbf
·
1 Parent(s): 059d153

default 200 epochs, label with timing info, instant cancel in preprocessing

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1025,7 +1025,7 @@ def gradio_main():
1025
  )
1026
  train_output_file = gr.File(label="Trained LoRA (download)", visible=False)
1027
  train_audio = gr.File(
1028
- label="Training Audio (optional caption .txt)",
1029
  file_count="multiple",
1030
  file_types=["audio", ".txt", ".json"],
1031
  height=120,
@@ -1036,8 +1036,9 @@ def gradio_main():
1036
  cancel_btn = gr.Button("Cancel Training", variant="stop", visible=False, scale=1)
1037
  lora_name = gr.Textbox(label="LoRA Name", value="my-lora")
1038
  train_epochs = gr.Slider(
1039
- label="Epochs", minimum=1, maximum=1000,
1040
- value=3, step=1,
 
1041
  )
1042
  train_lr = gr.Number(label="Learning Rate", value=3e-4)
1043
  train_rank = gr.Slider(
 
1025
  )
1026
  train_output_file = gr.File(label="Trained LoRA (download)", visible=False)
1027
  train_audio = gr.File(
1028
+ label="Training Audio — max 30 min total, ~2 min/epoch on CPU (optional caption .txt)",
1029
  file_count="multiple",
1030
  file_types=["audio", ".txt", ".json"],
1031
  height=120,
 
1036
  cancel_btn = gr.Button("Cancel Training", variant="stop", visible=False, scale=1)
1037
  lora_name = gr.Textbox(label="LoRA Name", value="my-lora")
1038
  train_epochs = gr.Slider(
1039
+ label="Epochs (200 recommended, ~6h on CPU)",
1040
+ minimum=1, maximum=1000,
1041
+ value=200, step=1,
1042
  )
1043
  train_lr = gr.Number(label="Learning Rate", value=3e-4)
1044
  train_rank = gr.Slider(