Spaces:
Runtime error
Runtime error
Salman Naqvi commited on
Commit ·
c1b2ccb
1
Parent(s): ac219f9
Updated description.
Browse files
app.ipynb
CHANGED
|
@@ -204,7 +204,7 @@
|
|
| 204 |
"\n",
|
| 205 |
"title = 'Bear Classifier'\n",
|
| 206 |
"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 ' \\\n",
|
| 207 |
-
" 'ResNet18 architecture and used the fastai library.'\n",
|
| 208 |
"article = \"\"\"\n",
|
| 209 |
"<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html'>Blog Post</a></p>\n",
|
| 210 |
"\"\"\""
|
|
@@ -293,7 +293,7 @@
|
|
| 293 |
},
|
| 294 |
{
|
| 295 |
"cell_type": "code",
|
| 296 |
-
"execution_count":
|
| 297 |
"outputs": [],
|
| 298 |
"source": [
|
| 299 |
"from nbdev.export import nb_export"
|
|
@@ -304,7 +304,7 @@
|
|
| 304 |
},
|
| 305 |
{
|
| 306 |
"cell_type": "code",
|
| 307 |
-
"execution_count":
|
| 308 |
"outputs": [],
|
| 309 |
"source": [
|
| 310 |
"nb_export('app.ipynb', '.')"
|
|
|
|
| 204 |
"\n",
|
| 205 |
"title = 'Bear Classifier'\n",
|
| 206 |
"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 ' \\\n",
|
| 207 |
+
" 'ResNet18 architecture and used the fastai library. Check out the associated blog post with the link below!'\n",
|
| 208 |
"article = \"\"\"\n",
|
| 209 |
"<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html'>Blog Post</a></p>\n",
|
| 210 |
"\"\"\""
|
|
|
|
| 293 |
},
|
| 294 |
{
|
| 295 |
"cell_type": "code",
|
| 296 |
+
"execution_count": 3,
|
| 297 |
"outputs": [],
|
| 298 |
"source": [
|
| 299 |
"from nbdev.export import nb_export"
|
|
|
|
| 304 |
},
|
| 305 |
{
|
| 306 |
"cell_type": "code",
|
| 307 |
+
"execution_count": 4,
|
| 308 |
"outputs": [],
|
| 309 |
"source": [
|
| 310 |
"nb_export('app.ipynb', '.')"
|
app.py
CHANGED
|
@@ -24,7 +24,7 @@ examples = [str(img_path) for img_path in Path('example_images/').rglob('*.jpg')
|
|
| 24 |
|
| 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 = """
|
| 29 |
<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html'>Blog Post</a></p>
|
| 30 |
"""
|
|
|
|
| 24 |
|
| 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. Check out the associated blog post with the link below!'
|
| 28 |
article = """
|
| 29 |
<p style='text-align: center; font-size: 36px'><a href='https://forbo7.github.io/forblog/posts/2_bear_classifier_model.html'>Blog Post</a></p>
|
| 30 |
"""
|