AIRider commited on
Commit
9961347
ยท
verified ยท
1 Parent(s): abbc9f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 10000 # ๋ชจ๋ธ์˜ ์ตœ๋Œ€ ํ† ํฐ ์ˆ˜์— ๋งž๊ฒŒ ์„ค์ •
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 = [