Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +4 -4
app/main.py
CHANGED
|
@@ -19,21 +19,21 @@ def build_prompt(difficulty: str, language: str) -> str:
|
|
| 19 |
่จ่ช: {language}
|
| 20 |
|
| 21 |
ๆฌกใฎใใฉใผใใใใฎ JSON ใ ใใ่ฟใใฆใใ ใใ๏ผๅๅพใซไธๅใฎๆ็ซ ใไปใใชใใใจ๏ผ:
|
| 22 |
-
|
| 23 |
{{
|
| 24 |
"questions": [
|
| 25 |
{{
|
| 26 |
-
"question": "
|
| 27 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 28 |
"correctIndex": 0
|
| 29 |
}},
|
| 30 |
{{
|
| 31 |
-
"question": "
|
| 32 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 33 |
"correctIndex": 0
|
| 34 |
}},
|
| 35 |
{{
|
| 36 |
-
"question": "
|
| 37 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 38 |
"correctIndex": 0
|
| 39 |
}}
|
|
|
|
| 19 |
่จ่ช: {language}
|
| 20 |
|
| 21 |
ๆฌกใฎใใฉใผใใใใฎ JSON ใ ใใ่ฟใใฆใใ ใใ๏ผๅๅพใซไธๅใฎๆ็ซ ใไปใใชใใใจ๏ผ:
|
| 22 |
+
**ๅบๅใซใฏ{language}ใไฝฟใฃใฆใใ ใใใ**
|
| 23 |
{{
|
| 24 |
"questions": [
|
| 25 |
{{
|
| 26 |
+
"question": "ๅ้กๆ๏ผ{language}๏ผ",
|
| 27 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 28 |
"correctIndex": 0
|
| 29 |
}},
|
| 30 |
{{
|
| 31 |
+
"question": "ๅ้กๆ๏ผ{language}๏ผ",
|
| 32 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 33 |
"correctIndex": 0
|
| 34 |
}},
|
| 35 |
{{
|
| 36 |
+
"question": "ๅ้กๆ๏ผ{language}๏ผ",
|
| 37 |
"choices": ["้ธๆ่ข1", "้ธๆ่ข2", "้ธๆ่ข3", "้ธๆ่ข4"],
|
| 38 |
"correctIndex": 0
|
| 39 |
}}
|