Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,31 +66,31 @@ with gr.Blocks() as demo:
|
|
66 |
with gr.Row():
|
67 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
68 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
69 |
-
|
70 |
|
71 |
with gr.Tab("Création de devoirs 📝"):
|
72 |
with gr.Row():
|
73 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
74 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
75 |
-
|
76 |
|
77 |
with gr.Tab("Lettres de recommandation ✒️"):
|
78 |
with gr.Row():
|
79 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
80 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
81 |
-
|
82 |
|
83 |
with gr.Tab("Brainstorming d'idées 💡"):
|
84 |
with gr.Row():
|
85 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
86 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
87 |
-
|
88 |
|
89 |
with gr.Tab("Génération de questions d'exercice ❓"):
|
90 |
with gr.Row():
|
91 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
92 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
93 |
-
|
94 |
|
95 |
gr.Markdown("---\nConstruit avec ❤️ par [Bahae Eddine HALIM](https://www.linkedin.com/in/halimbahae/)")
|
96 |
|
|
|
66 |
with gr.Row():
|
67 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
68 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
69 |
+
gr.Button("Envoyer").click(creer_materiel_pedagogique, chat_message, response)
|
70 |
|
71 |
with gr.Tab("Création de devoirs 📝"):
|
72 |
with gr.Row():
|
73 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
74 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
75 |
+
gr.Button("Envoyer").click(creation_devoir, chat_message, response)
|
76 |
|
77 |
with gr.Tab("Lettres de recommandation ✒️"):
|
78 |
with gr.Row():
|
79 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
80 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
81 |
+
gr.Button("Envoyer").click(lettre_recommandation, chat_message, response)
|
82 |
|
83 |
with gr.Tab("Brainstorming d'idées 💡"):
|
84 |
with gr.Row():
|
85 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
86 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
87 |
+
gr.Button("Envoyer").click(brainstorming_idees, chat_message, response)
|
88 |
|
89 |
with gr.Tab("Génération de questions d'exercice ❓"):
|
90 |
with gr.Row():
|
91 |
chat_message = gr.Textbox(label="Entrez votre message", lines=5)
|
92 |
response = gr.Textbox(label="Réponse", interactive=False, lines=15, max_lines=50)
|
93 |
+
gr.Button("Envoyer").click(generation_questions_exercice, chat_message, response)
|
94 |
|
95 |
gr.Markdown("---\nConstruit avec ❤️ par [Bahae Eddine HALIM](https://www.linkedin.com/in/halimbahae/)")
|
96 |
|