Spaces:
Sleeping
Sleeping
Gent (PG/R - Comp Sci & Elec Eng)
commited on
Commit
·
0f6b3f8
1
Parent(s):
fe6bd89
fix
Browse files
app.py
CHANGED
|
@@ -107,10 +107,20 @@ segmentation_tab = gr.Interface(
|
|
| 107 |
title="Segmentation"
|
| 108 |
)
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
-
|
|
|
|
| 107 |
title="Segmentation"
|
| 108 |
)
|
| 109 |
|
| 110 |
+
with gr.Blocks() as app:
|
| 111 |
+
gr.Markdown("""
|
| 112 |
+
@misc{wu2023masked,
|
| 113 |
+
title={Masked Momentum Contrastive Learning for Zero-shot Semantic Understanding},
|
| 114 |
+
author={Jiantao Wu and Shentong Mo and Muhammad Awais and Sara Atito and Zhenhua Feng and Josef Kittler},
|
| 115 |
+
year={2023},
|
| 116 |
+
eprint={2308.11448},
|
| 117 |
+
archivePrefix={arXiv},
|
| 118 |
+
primaryClass={cs.CV}
|
| 119 |
+
}""")
|
| 120 |
+
interface = gr.TabbedInterface(
|
| 121 |
+
[classification_tab, segmentation_tab],
|
| 122 |
+
["Classification", "Segmentation"]
|
| 123 |
+
# layout="horizontal"
|
| 124 |
+
)
|
| 125 |
|
| 126 |
+
app.launch()
|