Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def get_lunar_info(solYear, solMonth, solDay, solHour):
|
|
129 |
def analyze_character(lunIljin, OPENAI_API_KEY):
|
130 |
API_URL = "https://api.openai.com/v1/chat/completions"
|
131 |
payload = {
|
132 |
-
"model": "gpt-
|
133 |
"messages": [{
|
134 |
"role": "system",
|
135 |
"content": "λΉμ μ μ¬μ£Ό νμμ λν΄ μ€λͺ
νλ μ±λ΄μ
λλ€."
|
@@ -154,7 +154,7 @@ def analyze_character(lunIljin, OPENAI_API_KEY):
|
|
154 |
def analyze_2024(lunIljin, OPENAI_API_KEY):
|
155 |
API_URL = "https://api.openai.com/v1/chat/completions"
|
156 |
payload = {
|
157 |
-
"model": "gpt-
|
158 |
"messages": [{
|
159 |
"role": "system",
|
160 |
"content": "λΉμ μ μ¬μ£Ό νμμ λν΄ μ€λͺ
νλ μ±λ΄μ
λλ€."
|
|
|
129 |
def analyze_character(lunIljin, OPENAI_API_KEY):
|
130 |
API_URL = "https://api.openai.com/v1/chat/completions"
|
131 |
payload = {
|
132 |
+
"model": "gpt-4o-mini", # λͺ¨λΈ μ΄λ¦ νμΈ νμ
|
133 |
"messages": [{
|
134 |
"role": "system",
|
135 |
"content": "λΉμ μ μ¬μ£Ό νμμ λν΄ μ€λͺ
νλ μ±λ΄μ
λλ€."
|
|
|
154 |
def analyze_2024(lunIljin, OPENAI_API_KEY):
|
155 |
API_URL = "https://api.openai.com/v1/chat/completions"
|
156 |
payload = {
|
157 |
+
"model": "gpt-4o-mini", # λͺ¨λΈ μ΄λ¦ νμΈ νμ
|
158 |
"messages": [{
|
159 |
"role": "system",
|
160 |
"content": "λΉμ μ μ¬μ£Ό νμμ λν΄ μ€λͺ
νλ μ±λ΄μ
λλ€."
|