Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,6 +35,7 @@ with demo:
|
|
| 35 |
""")
|
| 36 |
with gr.Tabs():
|
| 37 |
with gr.TabItem("Détéction d'une tumeur"):
|
|
|
|
| 38 |
|
| 39 |
my_input = gr.inputs.Image(shape=(224,224))
|
| 40 |
|
|
@@ -48,6 +49,7 @@ with demo:
|
|
| 48 |
|
| 49 |
|
| 50 |
with gr.TabItem("(PDF) Diabétique, prédiabétique ou sain"):
|
|
|
|
| 51 |
# POUR DIABETES FICHIER PDF
|
| 52 |
with gr.Row():
|
| 53 |
input_file_PDF = gr.File(label='PDF')
|
|
@@ -65,6 +67,7 @@ with demo:
|
|
| 65 |
output_html1 = gr.outputs.HTML(label="")
|
| 66 |
# text_output2 = gr.Label(label="Resultat de prédiction",num_top_classes=3)
|
| 67 |
with gr.TabItem("Public- Diabétique, prédiabétique ou sain"):
|
|
|
|
| 68 |
# POUR Diabetes
|
| 69 |
with gr.Row():
|
| 70 |
with gr.Group():
|
|
|
|
| 35 |
""")
|
| 36 |
with gr.Tabs():
|
| 37 |
with gr.TabItem("Détéction d'une tumeur"):
|
| 38 |
+
gr.MarkDown("# Veuillez insérer une image ci-dessous")
|
| 39 |
|
| 40 |
my_input = gr.inputs.Image(shape=(224,224))
|
| 41 |
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
with gr.TabItem("(PDF) Diabétique, prédiabétique ou sain"):
|
| 52 |
+
gr.MarkDown("# Veuillez insérer un fichier PDF ci-dessous ")
|
| 53 |
# POUR DIABETES FICHIER PDF
|
| 54 |
with gr.Row():
|
| 55 |
input_file_PDF = gr.File(label='PDF')
|
|
|
|
| 67 |
output_html1 = gr.outputs.HTML(label="")
|
| 68 |
# text_output2 = gr.Label(label="Resultat de prédiction",num_top_classes=3)
|
| 69 |
with gr.TabItem("Public- Diabétique, prédiabétique ou sain"):
|
| 70 |
+
gr.MarkDown("# Veuillez insérer vos caractéristiques ci-dessous ")
|
| 71 |
# POUR Diabetes
|
| 72 |
with gr.Row():
|
| 73 |
with gr.Group():
|