Spaces:
Runtime error
Runtime error
Aleksander Bojda
commited on
Commit
·
e256e94
1
Parent(s):
081f351
Add title and description, revert css changes
Browse files
app.py
CHANGED
|
@@ -31,12 +31,18 @@ examples = [
|
|
| 31 |
["examples/ex4.jpg", None],
|
| 32 |
]
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
iface = gr.Interface(fn=predict,
|
| 37 |
inputs=inputs,
|
| 38 |
outputs=outputs,
|
| 39 |
examples=examples,
|
| 40 |
cache_examples=False,
|
| 41 |
-
|
|
|
|
| 42 |
iface.launch()
|
|
|
|
| 31 |
["examples/ex4.jpg", None],
|
| 32 |
]
|
| 33 |
|
| 34 |
+
title = "Aquarium object detection"
|
| 35 |
+
description = """
|
| 36 |
+
Based on [Aquarium Combined dataset](https://universe.roboflow.com/brad-dwyer/aquarium-combined)
|
| 37 |
+
|
| 38 |
+
Supports following 7 classes: [fish, jellyfish, penguin, puffin, shark, starfish, stingray]
|
| 39 |
+
"""
|
| 40 |
|
| 41 |
iface = gr.Interface(fn=predict,
|
| 42 |
inputs=inputs,
|
| 43 |
outputs=outputs,
|
| 44 |
examples=examples,
|
| 45 |
cache_examples=False,
|
| 46 |
+
title=title,
|
| 47 |
+
description=description)
|
| 48 |
iface.launch()
|