Shuo Wang
commited on
Commit
•
1087dd9
1
Parent(s):
2eb8a74
add share=True
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict(img):
|
|
14 |
title = "Bear Classifier"
|
15 |
description = "A bear classifier trained on downloaded images of bear dataset with fastai."
|
16 |
article="<p style='text-align: center'><a href='https://shuowangphd.github.io' target='_blank'>Back to my personal webpage.</a></p>"
|
17 |
-
exa = ['grizzly.jpg']
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
@@ -22,4 +22,4 @@ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)),
|
|
22 |
outputs=gr.outputs.Label(num_top_classes=3),
|
23 |
title=title,description=description,article=article,examples=exa,
|
24 |
interpretation=interpretation,
|
25 |
-
enable_queue=enable_queue).launch(
|
|
|
14 |
title = "Bear Classifier"
|
15 |
description = "A bear classifier trained on downloaded images of bear dataset with fastai."
|
16 |
article="<p style='text-align: center'><a href='https://shuowangphd.github.io' target='_blank'>Back to my personal webpage.</a></p>"
|
17 |
+
exa = [['grizzly.jpg'],['teddy.jpg']]
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
|
|
22 |
outputs=gr.outputs.Label(num_top_classes=3),
|
23 |
title=title,description=description,article=article,examples=exa,
|
24 |
interpretation=interpretation,
|
25 |
+
enable_queue=enable_queue).launch(share=True)
|