JUNGU commited on
Commit
86f45ae
·
verified ·
1 Parent(s): a4e9edc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -3,7 +3,14 @@ import openai
3
  import json
4
  import os
5
  import pandas as pd
6
- import achivenment_standards as data
 
 
 
 
 
 
 
7
 
8
  # OpenAI API 설정 (환경 변수에서 읽어옴)
9
  openai.api_key = os.getenv("OPENAI_API_KEY")
 
3
  import json
4
  import os
5
  import pandas as pd
6
+
7
+ # 현재 디렉토리를 Python 경로에 추가
8
+ current_dir = os.path.dirname(os.path.abspath(__file__))
9
+ sys.path.append(current_dir)
10
+
11
+ # 성취기준 데이터 가져오기
12
+ import achievement_standards as data
13
+ achievement_standards = data.achievement_standards
14
 
15
  # OpenAI API 설정 (환경 변수에서 읽어옴)
16
  openai.api_key = os.getenv("OPENAI_API_KEY")