ParulPandey commited on
Commit
179a824
·
verified ·
1 Parent(s): fad3d57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
165
 
166
  answer_inputs = []
167
  for q in questions:
168
- gr.Markdown(f"**Question:** {q['question']}")
169
  if quiz_type == "Multiple Choice":
170
  answer_inputs.append(gr.Radio(choices=q["options"], label="Select your answer"))
171
  else:
@@ -206,8 +206,8 @@ with gr.Blocks(theme=gr.themes.Base()) as interface:
206
  lines=10,
207
  label="Questions & Answers",
208
  placeholder=(
209
- "One question per line. Separate parts with commas.\n\n"
210
- "MCQ Format: Question,Option1,Option2,CorrectOption\n"
211
  "Text Format: Question,CorrectAnswer"
212
  )
213
  )
 
165
 
166
  answer_inputs = []
167
  for q in questions:
168
+ gr.Markdown("**Question:** " + q['question'])
169
  if quiz_type == "Multiple Choice":
170
  answer_inputs.append(gr.Radio(choices=q["options"], label="Select your answer"))
171
  else:
 
206
  lines=10,
207
  label="Questions & Answers",
208
  placeholder=(
209
+ "One question per line. Separate parts with commas.\\n\\n"
210
+ "MCQ Format: Question,Option1,Option2,CorrectOption\\n"
211
  "Text Format: Question,CorrectAnswer"
212
  )
213
  )