AndrewRWilliams commited on
Commit
5cac5ae
·
1 Parent(s): c664af0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -92,18 +92,18 @@ with gr.Blocks() as demo:
92
  with gr.Column():
93
 
94
  quiz_button = gr.Button("Générer cinq questions.", variant="primary")
95
- credentials = gr.Textbox(placeholder="Code d'accès", lines=1)
96
 
97
 
98
  with gr.Row():
99
- context = gr.Textbox(placeholder="insérez le texte ici.", lines=8)
100
 
101
  with gr.Tab("brut"):
102
- qa_pairs = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19)
103
  with gr.Tab("format html"):
104
- qa_pairs_html = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19)
105
  with gr.Tab("format edulib"):
106
- qa_pairs_edulib = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19)
107
 
108
  #todo: test generating with just one phrase for one MCQ with smaller models
109
 
 
92
  with gr.Column():
93
 
94
  quiz_button = gr.Button("Générer cinq questions.", variant="primary")
95
+ credentials = gr.Textbox(placeholder="Code d'accès", lines=1, label="")
96
 
97
 
98
  with gr.Row():
99
+ context = gr.Textbox(placeholder="insérez le texte ici.", lines=8, label="Texte")
100
 
101
  with gr.Tab("brut"):
102
+ qa_pairs = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19, label="Paires question-réponse")
103
  with gr.Tab("format html"):
104
+ qa_pairs_html = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19, label="Paires question-réponse, format html")
105
  with gr.Tab("format edulib"):
106
+ qa_pairs_edulib = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19, label="Paires question-réponse, format xml")
107
 
108
  #todo: test generating with just one phrase for one MCQ with smaller models
109