Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
|
@@ -24,8 +24,8 @@ import numpy as np
|
|
| 24 |
|
| 25 |
from model import AppModel
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
This is an unofficial demo for [https://github.com/open-mmlab/mmdetection](https://github.com/open-mmlab/mmdetection).
|
| 30 |
<img id="overview" alt="overview" src="https://user-images.githubusercontent.com/12907710/137271636-56ba1cd2-b110-4812-8221-b4c120320aa9.png" />
|
| 31 |
'''
|
|
@@ -93,7 +93,6 @@ def main():
|
|
| 93 |
model = AppModel(DEFAULT_MODEL_NAME, args.device)
|
| 94 |
|
| 95 |
with gr.Blocks(theme=args.theme, css='style.css') as demo:
|
| 96 |
-
gr.Markdown(TITLE)
|
| 97 |
gr.Markdown(DESCRIPTION)
|
| 98 |
|
| 99 |
with gr.Row():
|
|
|
|
| 24 |
|
| 25 |
from model import AppModel
|
| 26 |
|
| 27 |
+
DESCRIPTION = '''# MMDetection
|
| 28 |
+
|
| 29 |
This is an unofficial demo for [https://github.com/open-mmlab/mmdetection](https://github.com/open-mmlab/mmdetection).
|
| 30 |
<img id="overview" alt="overview" src="https://user-images.githubusercontent.com/12907710/137271636-56ba1cd2-b110-4812-8221-b4c120320aa9.png" />
|
| 31 |
'''
|
|
|
|
| 93 |
model = AppModel(DEFAULT_MODEL_NAME, args.device)
|
| 94 |
|
| 95 |
with gr.Blocks(theme=args.theme, css='style.css') as demo:
|
|
|
|
| 96 |
gr.Markdown(DESCRIPTION)
|
| 97 |
|
| 98 |
with gr.Row():
|