Jfink09 commited on
Commit
27138c5
·
1 Parent(s): 3d7e95d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def predict(img) -> Tuple[Dict, float]:
64
  ### 4. Gradio app ###
65
 
66
  # Create title, description and article strings
67
- #title = "DeepFundus 👀"
68
  #description = "A ResNet50 feature extractor computer vision model to classify funduscopic images."
69
  #article = "Created with the help from [09. PyTorch Model Deployment](https://www.learnpytorch.io/09_pytorch_model_deployment/)."
70
 
@@ -77,6 +77,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
77
  outputs=[gr.Label(num_top_classes=10, label="Predictions"), # what are the outputs?
78
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
79
  # Create examples list from "examples/" directory
 
80
  examples=example_list,
81
  css="""
82
  .gradio-container {background-color: #0B0F19}
 
64
  ### 4. Gradio app ###
65
 
66
  # Create title, description and article strings
67
+ title = "Retinal Disease Detection"
68
  #description = "A ResNet50 feature extractor computer vision model to classify funduscopic images."
69
  #article = "Created with the help from [09. PyTorch Model Deployment](https://www.learnpytorch.io/09_pytorch_model_deployment/)."
70
 
 
77
  outputs=[gr.Label(num_top_classes=10, label="Predictions"), # what are the outputs?
78
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
79
  # Create examples list from "examples/" directory
80
+ title=title,
81
  examples=example_list,
82
  css="""
83
  .gradio-container {background-color: #0B0F19}