archietram commited on
Commit ·
09a1107
1
Parent(s): c1a13fc
update app
Browse files
app.ipynb
CHANGED
|
@@ -579,7 +579,7 @@
|
|
| 579 |
"examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]\n",
|
| 580 |
"\n",
|
| 581 |
"# it's good practice to pass examples, description and a title to guide users\n",
|
| 582 |
-
"title = '
|
| 583 |
"description = 'This app detects objects that appear in the image'\n",
|
| 584 |
"article = \"Author: <a href=\\\"https://huggingface.co/archietram\\\">Archie Tram</a>. \"\n",
|
| 585 |
"intf = gr.Interface(fn=infer, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)\n",
|
|
|
|
| 579 |
"examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]\n",
|
| 580 |
"\n",
|
| 581 |
"# it's good practice to pass examples, description and a title to guide users\n",
|
| 582 |
+
"title = 'Multiple Object Detector'\n",
|
| 583 |
"description = 'This app detects objects that appear in the image'\n",
|
| 584 |
"article = \"Author: <a href=\\\"https://huggingface.co/archietram\\\">Archie Tram</a>. \"\n",
|
| 585 |
"intf = gr.Interface(fn=infer, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)\n",
|
app.py
CHANGED
|
@@ -24,7 +24,7 @@ EXAMPLES_PATH = Path('./examples')
|
|
| 24 |
examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
|
| 25 |
|
| 26 |
# it's good practice to pass examples, description and a title to guide users
|
| 27 |
-
title = '
|
| 28 |
description = 'This app detects objects that appear in the image'
|
| 29 |
article = "Author: <a href=\"https://huggingface.co/archietram\">Archie Tram</a>. "
|
| 30 |
intf = gr.Interface(fn=infer, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)
|
|
|
|
| 24 |
examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
|
| 25 |
|
| 26 |
# it's good practice to pass examples, description and a title to guide users
|
| 27 |
+
title = 'Multiple Object Detector'
|
| 28 |
description = 'This app detects objects that appear in the image'
|
| 29 |
article = "Author: <a href=\"https://huggingface.co/archietram\">Archie Tram</a>. "
|
| 30 |
intf = gr.Interface(fn=infer, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)
|