Spaces:
Runtime error
Runtime error
Salman Naqvi
commited on
Commit
·
6df12eb
1
Parent(s):
56b60a7
Temporarily commented out the blog post link.
Browse files
app.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# AUTOGENERATED! DO NOT EDIT! File to edit: app.ipynb.
|
2 |
|
3 |
# %% auto 0
|
4 |
-
__all__ = ['learner', 'cats', 'img', 'lbl', 'examples', 'title', 'description', '
|
5 |
|
6 |
# %% app.ipynb 3
|
7 |
from fastai.vision.all import *
|
@@ -25,8 +25,8 @@ examples = [str(img_path) for img_path in Path('example_images/').rglob('*.jpg')
|
|
25 |
title = 'Bear Classifier'
|
26 |
description = 'My first AI model that can tell you whether an image contains a grizzly bear, a black bear, or a teddy bear. This model was trained on the ' \
|
27 |
'ResNet18 architecture and used the fastai library.'
|
28 |
-
article = "<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html' " \
|
29 |
-
|
30 |
|
31 |
# %% app.ipynb 15
|
32 |
interface = gr.Interface(
|
|
|
1 |
# AUTOGENERATED! DO NOT EDIT! File to edit: app.ipynb.
|
2 |
|
3 |
# %% auto 0
|
4 |
+
__all__ = ['learner', 'cats', 'img', 'lbl', 'examples', 'title', 'description', 'interface', 'classify_img']
|
5 |
|
6 |
# %% app.ipynb 3
|
7 |
from fastai.vision.all import *
|
|
|
25 |
title = 'Bear Classifier'
|
26 |
description = 'My first AI model that can tell you whether an image contains a grizzly bear, a black bear, or a teddy bear. This model was trained on the ' \
|
27 |
'ResNet18 architecture and used the fastai library.'
|
28 |
+
# article = "<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html' " \
|
29 |
+
# "targets='_blank'><Blog Post</a></p>"
|
30 |
|
31 |
# %% app.ipynb 15
|
32 |
interface = gr.Interface(
|