brignt commited on
Commit
24d9172
·
verified ·
1 Parent(s): f472fe7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from sklearn.metrics.pairwise import cosine_similarity
8
 
9
  # ===== 0) OpenAI API Key (Secrets) =====
10
  # Hugging Face Spaces에선 Settings -> Repository secrets -> OPENAI_API_KEY 등록
11
- openai.api_key = os.getenv("OPENAI_API_KEY", "")
12
 
13
  # ===== 1) 모델 & 데이터프레임 로드 =====
14
  # Example: jhgan/ko-sroberta-multitask
 
8
 
9
  # ===== 0) OpenAI API Key (Secrets) =====
10
  # Hugging Face Spaces에선 Settings -> Repository secrets -> OPENAI_API_KEY 등록
11
+ openai.api_key = os.getenv("OPENAI_API_KEY")
12
 
13
  # ===== 1) 모델 & 데이터프레임 로드 =====
14
  # Example: jhgan/ko-sroberta-multitask