Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -141,10 +141,10 @@ def generate_blog_post(query, prompt_template):
|
|
141 |
# OpenAI API ์ค์
|
142 |
model_name = "gpt-4o-mini"
|
143 |
temperature = 0.85
|
144 |
-
max_tokens =
|
145 |
top_p = 0.9
|
146 |
frequency_penalty = 0.5
|
147 |
-
presence_penalty = 0
|
148 |
|
149 |
# ๋ถํ์ํ ํํ ๋ฆฌ์คํธ
|
150 |
unwanted_phrases = [
|
|
|
141 |
# OpenAI API ์ค์
|
142 |
model_name = "gpt-4o-mini"
|
143 |
temperature = 0.85
|
144 |
+
max_tokens = 15000
|
145 |
top_p = 0.9
|
146 |
frequency_penalty = 0.5
|
147 |
+
presence_penalty = 0.3
|
148 |
|
149 |
# ๋ถํ์ํ ํํ ๋ฆฌ์คํธ
|
150 |
unwanted_phrases = [
|