AndrewRWilliams commited on
Commit
cc010e0
·
1 Parent(s): ae9da43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -45,14 +45,15 @@ with gr.Blocks() as demo:
45
  with gr.Row():
46
 
47
  with gr.Column():
48
-
 
 
49
  context = gr.Textbox(placeholder="Insérez le texte ici.", lines=10)
50
 
51
  slider = gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Nombre de questions.")
52
 
53
- quiz_button = gr.Button("Générer dix questions.")
54
 
55
- qa_pairs = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=15)
56
 
57
  #todo: test generating with just one phrase for one MCQ with smaller models
58
 
 
45
  with gr.Row():
46
 
47
  with gr.Column():
48
+
49
+ quiz_button = gr.Button("Générer dix questions.")
50
+
51
  context = gr.Textbox(placeholder="Insérez le texte ici.", lines=10)
52
 
53
  slider = gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Nombre de questions.")
54
 
 
55
 
56
+ qa_pairs = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=17)
57
 
58
  #todo: test generating with just one phrase for one MCQ with smaller models
59