Update app.py
Browse files
app.py
CHANGED
@@ -101,15 +101,15 @@ app7= gr.Interface(
|
|
101 |
app5 = gr.Interface(
|
102 |
fn=calcul,
|
103 |
inputs=[
|
104 |
-
gr.
|
105 |
-
gr.
|
106 |
-
gr.
|
107 |
-
gr.
|
108 |
-
gr.
|
109 |
-
gr.
|
110 |
-
gr.
|
111 |
-
gr.
|
112 |
-
gr.
|
113 |
],
|
114 |
outputs=gr.Textbox(label="Moyenne"),
|
115 |
description=description_c,
|
@@ -129,7 +129,7 @@ app7 = gr.Interface(
|
|
129 |
app8 = gr.Interface(
|
130 |
fn = mariam_chimi,
|
131 |
title="Mariam-chimi",
|
132 |
-
inputs=[gr.Textbox(),gr.
|
133 |
outputs=gr.Textbox(),
|
134 |
)
|
135 |
|
|
|
101 |
app5 = gr.Interface(
|
102 |
fn=calcul,
|
103 |
inputs=[
|
104 |
+
gr.Number(label="Math"),
|
105 |
+
gr.Number(label="Français"),
|
106 |
+
gr.Number(label="Physique"),
|
107 |
+
gr.Number(label="SVT"),
|
108 |
+
gr.Number(label="Philo"),
|
109 |
+
gr.Number(label="EPS"),
|
110 |
+
gr.Number(label="Théâtre"),
|
111 |
+
gr.Number(label="Histoire"),
|
112 |
+
gr.Number(label="Anglais"),
|
113 |
],
|
114 |
outputs=gr.Textbox(label="Moyenne"),
|
115 |
description=description_c,
|
|
|
129 |
app8 = gr.Interface(
|
130 |
fn = mariam_chimi,
|
131 |
title="Mariam-chimi",
|
132 |
+
inputs=[gr.Textbox(),gr.File()],
|
133 |
outputs=gr.Textbox(),
|
134 |
)
|
135 |
|