Spaces:
Runtime error
Runtime error
Commit
·
7b720c3
1
Parent(s):
573538a
Update app.py
Browse files
app.py
CHANGED
@@ -88,11 +88,16 @@ with gr.Blocks() as demo:
|
|
88 |
with gr.Column():
|
89 |
gr.Markdown("## Générateur de questions à choix multiples")
|
90 |
gr.Markdown("Pour créer des questions à choix multiples, insérez un texte dans la boîte à gauche, puis cliquez sur 'Générer des questions.' Attention! N'oubliez pas le code d'accès.")
|
91 |
-
|
92 |
-
|
93 |
|
94 |
quiz_button = gr.Button("Générer cinq questions.", variant="primary")
|
|
|
|
|
95 |
|
|
|
|
|
|
|
96 |
with gr.Tab("brut"):
|
97 |
qa_pairs = gr.Textbox(placeholder="Les questions apparaîtront ici.", lines=19)
|
98 |
with gr.Tab("format html"):
|
|
|
88 |
with gr.Column():
|
89 |
gr.Markdown("## Générateur de questions à choix multiples")
|
90 |
gr.Markdown("Pour créer des questions à choix multiples, insérez un texte dans la boîte à gauche, puis cliquez sur 'Générer des questions.' Attention! N'oubliez pas le code d'accès.")
|
91 |
+
|
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"):
|