Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,12 +31,7 @@ if st.button("분석 실행"):
|
|
| 31 |
user_prompt = f"Please {menu} the following text: {user_text}. only use Korean."
|
| 32 |
|
| 33 |
if menu == "문제 만들기":
|
| 34 |
-
task_description += "After reading the provided passage, create a question to help students develop a factual understanding based on the text. Start with a multiple-choice question with 5 options. Provide the correct answer and offer an explanation for that answer. All content must be written using only Korean characters."
|
| 35 |
-
|
| 36 |
-
{Question}
|
| 37 |
-
{Choices}
|
| 38 |
-
{Explanation}
|
| 39 |
-
"
|
| 40 |
|
| 41 |
messages = [{
|
| 42 |
"role": "system",
|
|
|
|
| 31 |
user_prompt = f"Please {menu} the following text: {user_text}. only use Korean."
|
| 32 |
|
| 33 |
if menu == "문제 만들기":
|
| 34 |
+
task_description += "After reading the provided passage, create a question to help students develop a factual understanding based on the text. Start with a multiple-choice question with 5 options. Provide the correct answer and offer an explanation for that answer. All content must be written using only Korean characters.{Question} {Choices} {Explanation}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
messages = [{
|
| 37 |
"role": "system",
|