Spaces:
Runtime error
Runtime error
kaggle login
Browse files
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:
|