menouar commited on
Commit
55ce514
·
1 Parent(s): 83d53f0

Check the output_dir

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. utils/notebook_generator.py +1 -1
app.py CHANGED
@@ -150,6 +150,7 @@ def generate_code(components: dict[Component, Any]):
150
  warmup_ratio = get_value(components, WARMUP_RATIO_ID)
151
  lr_scheduler_type = get_value(components, LR_SCHEDULER_TYPE_ID)
152
  output_dir = get_value(components, OUTPUT_DIR_ID)
 
153
  report_to = get_value(components, REPORT_TO_ID)
154
 
155
  if not check_valid_input(output_dir):
 
150
  warmup_ratio = get_value(components, WARMUP_RATIO_ID)
151
  lr_scheduler_type = get_value(components, LR_SCHEDULER_TYPE_ID)
152
  output_dir = get_value(components, OUTPUT_DIR_ID)
153
+ print(output_dir)
154
  report_to = get_value(components, REPORT_TO_ID)
155
 
156
  if not check_valid_input(output_dir):
utils/notebook_generator.py CHANGED
@@ -69,7 +69,7 @@ def create_login_hf_cells(cells: list):
69
  from huggingface_hub import login
70
 
71
  login(
72
- token=userdata.get('Your_HF_TOKEN')
73
  add_to_git_credential=True
74
  )
75
  """
 
69
  from huggingface_hub import login
70
 
71
  login(
72
+ token='Your_HF_TOKEN'
73
  add_to_git_credential=True
74
  )
75
  """