chidojawbreaker commited on
Commit
fb2c01a
1 Parent(s): e58afcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -24,7 +24,14 @@ def predict(Image):
24
 
25
  title = "CT-iRAD"
26
  description = "Welcome to CT-iRAD -- a web based decision support system for radiologists when screening lung diseases -- COVID-19, LUNG CANCER and PNEUMONIA -- in CT images. Please Upload the CT scan image for screening below."
 
 
 
 
 
 
27
 
28
- iRAD = gr.Interface(fn=predict, inputs="image", outputs="text", theme="darkhuggingface", title=title,description=description)
 
29
 
30
  iRAD.launch()
 
24
 
25
  title = "CT-iRAD"
26
  description = "Welcome to CT-iRAD -- a web based decision support system for radiologists when screening lung diseases -- COVID-19, LUNG CANCER and PNEUMONIA -- in CT images. Please Upload the CT scan image for screening below."
27
+ examples = [
28
+ ["covid.jpg"],
29
+ ["healthy.jpg"],
30
+ ["lung cancer.jpg"],
31
+ ["pneumonia.jpg"]
32
+ ]
33
 
34
+ iRAD = gr.Interface(predict,"image","text",
35
+ title=title,description=description,examples=examples,theme="peach")
36
 
37
  iRAD.launch()