hamdan07 commited on
Commit
3d8341c
1 Parent(s): 121cc41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import tensorflow as tf
3
- import cv2
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()