Andrey Litvin commited on
Commit
3e7941e
·
verified ·
1 Parent(s): 17c9bbd

Update app.py

Browse files

Русский язык 1

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -70,9 +70,9 @@ gr.Interface(
70
  fn=predict_retinopathy,
71
  inputs=gr.Image(type="pil"),
72
  outputs=[
73
- gr.Image(type="pil", label="Grad-CAM"),
74
- gr.Text(label="Prediction")
75
  ],
76
- title="Diabetic Retinopathy Detection",
77
- description="Upload a retinal image to classify DR and view Grad-CAM heatmap."
78
  ).launch()
 
70
  fn=predict_retinopathy,
71
  inputs=gr.Image(type="pil"),
72
  outputs=[
73
+ gr.Image(type="pil", label="Метод Grad-CAM"),
74
+ gr.Text(label="Вероятность ДР в %")
75
  ],
76
+ title="Диагностика диабетической ретинопатии",
77
+ description="Загрузите ОКТ .png и смотрите карту Grad-CAM heatmap"
78
  ).launch()