Jfink09 commited on
Commit
b958986
·
1 Parent(s): ff83725

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py DELETED
@@ -1,20 +0,0 @@
1
- import gradio as gr
2
-
3
- # Create title, description and article strings
4
- title = "DeepFundus 👀"
5
- description = "A ResNet50 feature extractor computer vision model to classify retina pathology from optical funduscopic images."
6
- article = "Created for fun."
7
-
8
- # Create the Gradio demo
9
- demo = gr.Interface(fn=predict, # mapping function from input to output
10
- inputs=gr.Image(type="pil"), # what are the inputs?
11
- outputs=[gr.Label(num_top_classes=8, label="Predictions"), # what are the outputs?
12
- gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
13
- examples=example_list,
14
- title=title,
15
- description=description,
16
- article=article)
17
-
18
- # Launch the demo!
19
- demo.launch(debug=False, # print errors locally?
20
- share=True) # generate a publically shareable URL?