Nah_kagz1092 commited on
Commit
b74be8e
·
verified ·
1 Parent(s): 41af70e

Update DoanMaGocNhungDcRemake.py

Browse files
Files changed (1) hide show
  1. DoanMaGocNhungDcRemake.py +5 -5
DoanMaGocNhungDcRemake.py CHANGED
@@ -288,12 +288,12 @@ with gr.Blocks(title="💕❤️ BẢO TRÂN VÀ NHƯ Ý ❤️💕",theme=gr.th
288
  minimum=2,
289
  maximum=1000,
290
  step=1,
291
- label="Epochs (more epochs may improve quality but takes longer)",
292
  value=150,
293
  interactive=True,
294
  )
295
- but4 = gr.Button("3. Train Index", variant="primary")
296
- but3 = gr.Button("4. Train Model", variant="primary")
297
  info3 = gr.Textbox(label="Information", value="", max_lines=10)
298
  with gr.Accordion(label="General Settings", open=False):
299
  gpus16 = gr.Textbox(
@@ -355,9 +355,9 @@ with gr.Blocks(title="💕❤️ BẢO TRÂN VÀ NHƯ Ý ❤️💕",theme=gr.th
355
  interactive=True
356
  )
357
  with gr.Row():
358
- download_model = gr.Button('5.Download Model')
359
  with gr.Row():
360
- model_files = gr.Files(label='Your Model and Index file can be downloaded here:')
361
  download_model.click(
362
  fn=lambda name: os.listdir(f'assets/weights/{name}') + glob.glob(f'logs/{name.split(".")[0]}/added_*.index'),
363
  inputs=[training_name],
 
288
  minimum=2,
289
  maximum=1000,
290
  step=1,
291
+ label="Epoch (số lần lặp) (số lần lặp càng nhiều, chất lượng có thể càng tốt nhưng thời gian xử lý càng lâu)",
292
  value=150,
293
  interactive=True,
294
  )
295
+ but4 = gr.Button("3. Train Index(Huấn luyện thông số)", variant="primary")
296
+ but3 = gr.Button("4. Train Model(Huấn luyện mô hình)", variant="primary")
297
  info3 = gr.Textbox(label="Information", value="", max_lines=10)
298
  with gr.Accordion(label="General Settings", open=False):
299
  gpus16 = gr.Textbox(
 
355
  interactive=True
356
  )
357
  with gr.Row():
358
+ download_model = gr.Button('5.Tải mô hình')
359
  with gr.Row():
360
+ model_files = gr.Files(label='Tệp hình thông số của bạn có thể được tải xuống tại đây:')
361
  download_model.click(
362
  fn=lambda name: os.listdir(f'assets/weights/{name}') + glob.glob(f'logs/{name.split(".")[0]}/added_*.index'),
363
  inputs=[training_name],