iain maitland
commited on
Commit
•
033a703
1
Parent(s):
c2cbe96
remove example
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ import gradio as gr
|
|
11 |
|
12 |
title = "Smoking Classifier"
|
13 |
description = "A smoking, not smoking classifier trained with fastai."
|
14 |
-
examples = ['
|
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()
|
|
|
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()
|