Update app.py
Browse files
app.py
CHANGED
|
@@ -11,8 +11,8 @@ genai.configure(api_key=os.environ["GEMINI_API_KEY"])
|
|
| 11 |
|
| 12 |
# ๋ชจ๋ธ ์ค์
|
| 13 |
generation_config = {
|
| 14 |
-
"temperature":
|
| 15 |
-
"top_p": 0.
|
| 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="์ด๋ฑํ๊ต ๊ต์ก๊ณผ์ ์ ๋ง๋ ๊ฐ๋
๊ธฐ๋ฐ ํ๊ตฌํ์ต์ ์์ฑํฉ๋๋ค.",
|