Spaces:
Runtime error
Runtime error
Tolga
commited on
Commit
·
0438ab1
1
Parent(s):
5a36fee
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ Here are the list of animals into this model. 'corals', 'crabs', 'dolphin', 'eel
|
|
13 |
Enjoy it! 🐟
|
14 |
'''
|
15 |
|
|
|
|
|
16 |
learn = load_learner('model.pkl')
|
17 |
|
18 |
image = gr.inputs.Image(shape=(128, 128))
|
@@ -28,10 +30,9 @@ def classify_img(img):
|
|
28 |
interface = gr.Interface(fn=classify_img,
|
29 |
inputs=image,
|
30 |
title=title,
|
|
|
31 |
description=description,
|
32 |
outputs=label,
|
33 |
examples=examples)
|
34 |
|
35 |
-
interface.launch(inline=False)
|
36 |
-
|
37 |
-
|
|
|
13 |
Enjoy it! 🐟
|
14 |
'''
|
15 |
|
16 |
+
article = "<p style='text-align: center'><center><img src='https://visitor-badge.glitch.me/badge?page_id=tkseaanimals' alt='visitor badge'></center></p>"
|
17 |
+
|
18 |
learn = load_learner('model.pkl')
|
19 |
|
20 |
image = gr.inputs.Image(shape=(128, 128))
|
|
|
30 |
interface = gr.Interface(fn=classify_img,
|
31 |
inputs=image,
|
32 |
title=title,
|
33 |
+
article = article,
|
34 |
description=description,
|
35 |
outputs=label,
|
36 |
examples=examples)
|
37 |
|
38 |
+
interface.launch(inline=False)
|
|
|
|