wasmdashai commited on
Commit
749cf45
·
verified ·
1 Parent(s): e0dd5e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -429,7 +429,8 @@ class TrinerModelVITS:
429
 
430
  def init_wandb(self):
431
  wandb.login(key= "782b6a6e82bbb5a5348de0d3c7d40d1e76351e79")
432
- wandb.init(project= 'HugfaceTraining',config = self.training_args.to_dict())
 
433
 
434
 
435
  def load_dataset(self,train_dataset_dirs,eval_dataset_dir,full_generation_dir):
@@ -616,7 +617,7 @@ with gr.Blocks() as interface:
616
  with gr.Accordion("init_wandb ", open=False):
617
  btn_init_wandb = gr.Button("nit_wandb")
618
  output_initbtn_init_wandb = gr.Textbox(label="init")
619
- btn_init_wandb.click(fn=init_training,inputs=[],outputs=[output_initbtn_init_wandb])
620
 
621
  with gr.Accordion("init_training ", open=False):
622
  btn_init_train = gr.Button("init init_train")
 
429
 
430
  def init_wandb(self):
431
  wandb.login(key= "782b6a6e82bbb5a5348de0d3c7d40d1e76351e79")
432
+ #config = self.training_args.to_dict()
433
+ wandb.init(project= 'HugfaceTraining')
434
 
435
 
436
  def load_dataset(self,train_dataset_dirs,eval_dataset_dir,full_generation_dir):
 
617
  with gr.Accordion("init_wandb ", open=False):
618
  btn_init_wandb = gr.Button("nit_wandb")
619
  output_initbtn_init_wandb = gr.Textbox(label="init")
620
+ btn_init_wandb.click(fn=init_wandb,inputs=[],outputs=[output_initbtn_init_wandb])
621
 
622
  with gr.Accordion("init_training ", open=False):
623
  btn_init_train = gr.Button("init init_train")