Docfile commited on
Commit
fc203fd
·
1 Parent(s): ccb3b79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -101,15 +101,15 @@ app7= gr.Interface(
101
  app5 = gr.Interface(
102
  fn=calcul,
103
  inputs=[
104
- gr.inputs.Number(label="Math"),
105
- gr.inputs.Number(label="Français"),
106
- gr.inputs.Number(label="Physique"),
107
- gr.inputs.Number(label="SVT"),
108
- gr.inputs.Number(label="Philo"),
109
- gr.inputs.Number(label="EPS"),
110
- gr.inputs.Number(label="Théâtre"),
111
- gr.inputs.Number(label="Histoire"),
112
- gr.inputs.Number(label="Anglais"),
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.inputs.File()],
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