Ekins Kuuzie commited on
Commit
efaf5e3
·
verified ·
1 Parent(s): c51ae04

Added the article, description, and changed the launch parameter to inline

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -34,4 +34,15 @@ def predict_image(test_image):
34
  return (f'There is a chance of TB being present')
35
 
36
 
37
- gr.Interface(predict_image, "image", "label").launch(share=True)
 
 
 
 
 
 
 
 
 
 
 
 
34
  return (f'There is a chance of TB being present')
35
 
36
 
37
+ platform=gr.Interface( fn = predict_image,
38
+ title ="TB CADx"
39
+ input = "image",
40
+ output = "label",
41
+ description="""This is a computer aided detection tool that helps
42
+ clinicians quickly classify chest X-ray images into either normal,
43
+ unhealthy but no TB or High chance of TB""",
44
+ article = """This tool is for research and by all means not meant to replace
45
+ the WHO recommended guidelines on diagnosing TB""" )
46
+
47
+
48
+ platform.launch(inline=True)