Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import tensorflow as tf
|
|
8 |
|
9 |
# Restante do seu c贸digo ...
|
10 |
|
11 |
-
|
12 |
# Load the model
|
13 |
model = tf.keras.models.load_model('model.h5')
|
14 |
|
@@ -56,12 +55,6 @@ gradio_interface = gr.Interface(
|
|
56 |
outputs=outputs,
|
57 |
title="Pneumonia X-Ray Classification API",
|
58 |
description="This API classifies images of chest X-rays as having pneumonia or being normal.",
|
59 |
-
examples=[
|
60 |
-
["person1946_bacteria_4875.jpeg"],
|
61 |
-
["person1952_bacteria_4883.jpeg"],
|
62 |
-
["NORMAL2-IM-1427-0001.jpeg"],
|
63 |
-
["NORMAL2-IM-1431-0001.jpeg"]
|
64 |
-
],
|
65 |
theme="default",
|
66 |
allow_flagging=False
|
67 |
)
|
|
|
8 |
|
9 |
# Restante do seu c贸digo ...
|
10 |
|
|
|
11 |
# Load the model
|
12 |
model = tf.keras.models.load_model('model.h5')
|
13 |
|
|
|
55 |
outputs=outputs,
|
56 |
title="Pneumonia X-Ray Classification API",
|
57 |
description="This API classifies images of chest X-rays as having pneumonia or being normal.",
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
theme="default",
|
59 |
allow_flagging=False
|
60 |
)
|