Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
-
|
4 |
|
5 |
title = "Covid 19 Prediction App using X-ray Images"
|
6 |
|
@@ -12,8 +12,4 @@ head = (
|
|
12 |
|
13 |
|
14 |
|
15 |
-
image = gr.inputs.Image(shape=(500, 500), image_mode='L', invert_colors=False, source="upload")
|
16 |
-
label = gr.outputs.Label()
|
17 |
-
iface = gr.Interface(fn=predict_input_image, inputs=image, outputs=label,title=title, description=head)
|
18 |
-
|
19 |
gr.Interface.load("models/swww/test").launch()
|
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
+
|
4 |
|
5 |
title = "Covid 19 Prediction App using X-ray Images"
|
6 |
|
|
|
12 |
|
13 |
|
14 |
|
|
|
|
|
|
|
|
|
15 |
gr.Interface.load("models/swww/test").launch()
|