eli02 commited on
Commit
e0a23e1
·
1 Parent(s): c2d68b9

update: reform.

Browse files
Files changed (1) hide show
  1. utility.py +3 -3
utility.py CHANGED
@@ -3,9 +3,9 @@ import os
3
  import argparse
4
 
5
  def retrieve_secrets(
6
- file_path: str | os.PathLike,
7
- secret_from: str,
8
- access_type: str="default"
9
  ) -> str:
10
  with open(file_path, 'r') as file:
11
  lines = file.read().split('\n\n')
 
3
  import argparse
4
 
5
  def retrieve_secrets(
6
+ file_path: str | os.PathLike = "~/.ssh/lab_access.txt",
7
+ secret_from: str = "Hugging Face Authentication",
8
+ access_type: str = "default"
9
  ) -> str:
10
  with open(file_path, 'r') as file:
11
  lines = file.read().split('\n\n')