arxivgpt kim commited on
Commit
434754a
·
verified ·
1 Parent(s): 3230714

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
  import requests
6
 
7
  # 환경 변수에서 필요한 설정을 로드합니다.
8
- API_URL = "https://api.openai.com/v1/chat/completions"
9
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # 환경변수에서 API 키를 로드하도록 변경
10
 
11
  def exception_handler(exception_type, exception, traceback):
 
5
  import requests
6
 
7
  # 환경 변수에서 필요한 설정을 로드합니다.
8
+ API_URL = os.getenv("API_URL")
9
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # 환경변수에서 API 키를 로드하도록 변경
10
 
11
  def exception_handler(exception_type, exception, traceback):