ccmscifair commited on
Commit
19b4e68
·
verified ·
1 Parent(s): 7f8d69d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -20,12 +20,11 @@ article_text = article_text + "It is not medical advice. If you have medical co
20
  article_text = article_text + "You can upload an external eye photo and it will return an AI prediction of the probability of "
21
  article_text = article_text + "a corneal ulcer being present. This AI cornea ulcer classifier has 97% accuracy on both training and previously unseen test images."
22
  article_text = article_text + "Below are links to additional information about corneal ulcers: \n"
23
- article_text = article_text + "https://www.aao.org/eye-health/diseases/corneal-ulcer \n"
24
- article_text = article_text + "https://my.clevelandclinic.org/health/diseases/22524-corneal-ulcer \n"
25
- article_text = article_text + "https://www.pennmedicine.org/for-patients-and-visitors/patient-information/conditions-treated-a-to-z/corneal-ulcer \n"
26
 
27
  article = article_text
28
- #article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
29
  examples = ['examplecorneaulcer.jpeg','exampleconjunctivitisnocorneaulcer.jpeg','examplenormaleye.jpeg']
30
  interpretation = 'default'
31
  enable_queue = True
@@ -42,4 +41,4 @@ demo = gr.Interface(
42
  #enable_queue=enable_queue
43
  )
44
 
45
- demo.launch()
 
20
  article_text = article_text + "You can upload an external eye photo and it will return an AI prediction of the probability of "
21
  article_text = article_text + "a corneal ulcer being present. This AI cornea ulcer classifier has 97% accuracy on both training and previously unseen test images."
22
  article_text = article_text + "Below are links to additional information about corneal ulcers: \n"
23
+ article_text = article_text + "www.aao.org/eye-health/diseases/corneal-ulcer \n"
24
+ article_text = article_text + "www.my.clevelandclinic.org/health/diseases/22524-corneal-ulcer \n"
25
+ article_text = article_text + "www.pennmedicine.org/for-patients-and-visitors/patient-information/conditions-treated-a-to-z/corneal-ulcer \n"
26
 
27
  article = article_text
 
28
  examples = ['examplecorneaulcer.jpeg','exampleconjunctivitisnocorneaulcer.jpeg','examplenormaleye.jpeg']
29
  interpretation = 'default'
30
  enable_queue = True
 
41
  #enable_queue=enable_queue
42
  )
43
 
44
+ demo.launch(share = True)