updated
Browse files
app.ipynb
CHANGED
|
@@ -1,15 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"cells": [
|
| 3 |
-
{
|
| 4 |
-
"cell_type": "code",
|
| 5 |
-
"execution_count": 1,
|
| 6 |
-
"metadata": {},
|
| 7 |
-
"outputs": [],
|
| 8 |
-
"source": [
|
| 9 |
-
"title = \"Pet Breed Classifier\"\n",
|
| 10 |
-
"description = \"A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces.\""
|
| 11 |
-
]
|
| 12 |
-
},
|
| 13 |
{
|
| 14 |
"cell_type": "code",
|
| 15 |
"execution_count": 1,
|
|
@@ -267,6 +257,8 @@
|
|
| 267 |
"#/export\n",
|
| 268 |
"image = gr.inputs.Image(shape=(192,192))\n",
|
| 269 |
"label = gr.outputs.Label()\n",
|
|
|
|
|
|
|
| 270 |
"examples = ['dog.jpeg','cat.jpeg', 'dunno.jpeg']\n",
|
| 271 |
"\n",
|
| 272 |
"intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,examples=examples)\n",
|
|
|
|
| 1 |
{
|
| 2 |
"cells": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
{
|
| 4 |
"cell_type": "code",
|
| 5 |
"execution_count": 1,
|
|
|
|
| 257 |
"#/export\n",
|
| 258 |
"image = gr.inputs.Image(shape=(192,192))\n",
|
| 259 |
"label = gr.outputs.Label()\n",
|
| 260 |
+
"title = \"Pet Breed Classifier\"\n",
|
| 261 |
+
"description = \"A pet breed classifier trained on the Oxford Pets dataset with fastai. Created as a demo for Gradio and HuggingFace spaces.\"\n",
|
| 262 |
"examples = ['dog.jpeg','cat.jpeg', 'dunno.jpeg']\n",
|
| 263 |
"\n",
|
| 264 |
"intf = gr.Interface(fn=classify_image, inputs=image, outputs=label,examples=examples)\n",
|