ll7098ll commited on
Commit
a033392
ยท
verified ยท
1 Parent(s): 4987df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,8 +11,8 @@ genai.configure(api_key=os.environ["GEMINI_API_KEY"])
11
 
12
  # ๋ชจ๋ธ ์„ค์ •
13
  generation_config = {
14
- "temperature": 1,
15
- "top_p": 0.95,
16
  "top_k": 40,
17
  "max_output_tokens": 25000,
18
  "response_mime_type": "text/plain",
@@ -124,7 +124,7 @@ def generate_curriculum(grade, achievement_standard):
124
  return full_text
125
 
126
 
127
- # Streamlit ์ธํ„ฐํŽ˜์ด์Šค (์ด์ „ ์ฝ”๋“œ์™€ ๋™์ผ)
128
  colored_header(
129
  label="๊ฐœ๋…๊ธฐ๋ฐ˜ ํƒ๊ตฌํ•™์Šต ์„ค๊ณ„ ๋„์šฐ๋ฏธ",
130
  description="์ดˆ๋“ฑํ•™๊ต ๊ต์œก๊ณผ์ •์— ๋งž๋Š” ๊ฐœ๋…๊ธฐ๋ฐ˜ ํƒ๊ตฌํ•™์Šต์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.",
 
11
 
12
  # ๋ชจ๋ธ ์„ค์ •
13
  generation_config = {
14
+ "temperature": 0.7,
15
+ "top_p": 0.85,
16
  "top_k": 40,
17
  "max_output_tokens": 25000,
18
  "response_mime_type": "text/plain",
 
124
  return full_text
125
 
126
 
127
+ # Streamlit ์ธํ„ฐํŽ˜์ด์Šค
128
  colored_header(
129
  label="๊ฐœ๋…๊ธฐ๋ฐ˜ ํƒ๊ตฌํ•™์Šต ์„ค๊ณ„ ๋„์šฐ๋ฏธ",
130
  description="์ดˆ๋“ฑํ•™๊ต ๊ต์œก๊ณผ์ •์— ๋งž๋Š” ๊ฐœ๋…๊ธฐ๋ฐ˜ ํƒ๊ตฌํ•™์Šต์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.",