yunzi7 commited on
Commit
4a329cb
โ€ข
1 Parent(s): 1c3d27b

kaggle login

Browse files
Files changed (1) hide show
  1. ice_breaking_challenge/__init__.py +5 -0
ice_breaking_challenge/__init__.py CHANGED
@@ -20,6 +20,11 @@ def create_app(test_config=None):
20
  Session(app)
21
 
22
  # model loading
 
 
 
 
 
23
  model = load_model_with_lora()
24
 
25
  if test_config is None:
 
20
  Session(app)
21
 
22
  # model loading
23
+ # Kaggle API Key ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ์„ค์ •
24
+ kaggle_username = os.getenv("KAGGLE_USERNAME")
25
+ kaggle_key = os.getenv("KAGGLE_KEY")
26
+ os.environ['KAGGLE_USERNAME'] = kaggle_username
27
+ os.environ['KAGGLE_KEY'] = kaggle_key
28
  model = load_model_with_lora()
29
 
30
  if test_config is None: