JUNGU commited on
Commit
bc90f72
·
1 Parent(s): 177d8ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -31,7 +31,12 @@ if st.button("분석 실행"):
31
  user_prompt = f"Please {menu} the following text: {user_text}. only use Korean."
32
 
33
  if menu == "문제 만들기":
34
- task_description += " Create questions to help students develop a factual understanding of fingerprints. Be sure to submit questions based on the fingerprint. Create a multiple-choice question with 5 choices with an answer and explanation. Use only Korean characters."
 
 
 
 
 
35
 
36
  messages = [{
37
  "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.
35
+
36
+ {Question}
37
+ {Choices}
38
+ {Explanation}
39
+ "
40
 
41
  messages = [{
42
  "role": "system",