iain maitland
commited on
Commit
•
05579cd
1
Parent(s):
033a703
update description
Browse files
app.py
CHANGED
@@ -10,6 +10,6 @@ def predict(img):
|
|
10 |
import gradio as gr
|
11 |
|
12 |
title = "Smoking Classifier"
|
13 |
-
description = "A smoking, not smoking classifier trained with fastai."
|
14 |
examples = ['smoking2.jpg', 'not_smoking.jpg']
|
15 |
gr.Interface(title=title, description=description, examples=examples,fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()
|
|
|
10 |
import gradio as gr
|
11 |
|
12 |
title = "Smoking Classifier"
|
13 |
+
description = "A smoking, not smoking classifier, resnet14 trained with custom dataset using fastai."
|
14 |
examples = ['smoking2.jpg', 'not_smoking.jpg']
|
15 |
gr.Interface(title=title, description=description, examples=examples,fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()
|