ryanzhangfan
commited on
Commit
•
bad108e
1
Parent(s):
feb19c1
change port and add user guide
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
# Email : [email protected]
|
7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
8 |
# Create On : 2023-12-11 15:34
|
9 |
-
# Last Modified : 2023-12-20
|
10 |
# File Name : app.py
|
11 |
# Description :
|
12 |
#
|
@@ -24,7 +24,7 @@ parser.add_argument("--title", type=str, default='Emu')
|
|
24 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
25 |
parser.add_argument("--port", type=int, default=9002)
|
26 |
parser.add_argument("--share", action="store_true")
|
27 |
-
parser.add_argument("--controller-url", type=str, default="http://218.91.113.230:
|
28 |
parser.add_argument("--concurrency-count", type=int, default=2)
|
29 |
parser.add_argument("--disable-chat", action="store_true")
|
30 |
parser.add_argument("--disable-generate", action="store_true")
|
@@ -33,7 +33,16 @@ args = parser.parse_args()
|
|
33 |
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
-
title = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
interface_list, tab_names = [], []
|
39 |
if not args.disable_generate:
|
|
|
6 |
# Email : [email protected]
|
7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
8 |
# Create On : 2023-12-11 15:34
|
9 |
+
# Last Modified : 2023-12-20 12:13
|
10 |
# File Name : app.py
|
11 |
# Description :
|
12 |
#
|
|
|
24 |
parser.add_argument("--host", type=str, default="0.0.0.0")
|
25 |
parser.add_argument("--port", type=int, default=9002)
|
26 |
parser.add_argument("--share", action="store_true")
|
27 |
+
parser.add_argument("--controller-url", type=str, default="http://218.91.113.230:8999")
|
28 |
parser.add_argument("--concurrency-count", type=int, default=2)
|
29 |
parser.add_argument("--disable-chat", action="store_true")
|
30 |
parser.add_argument("--disable-generate", action="store_true")
|
|
|
33 |
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
+
title = "Emu2: Generative Multimodal Models are In-Context Learners<br> \
|
37 |
+
<div align='center'> \
|
38 |
+
<h2>|<a href='https://arxiv.org/abs/2307.05222' target='_blank' rel='noopener'>paper</a>| \
|
39 |
+
|<a href='https://github.com/baaivision/Emu' target='_blank' rel='noopener'>code</a>|</h2> \
|
40 |
+
</div> \
|
41 |
+
<div align='center'> \
|
42 |
+
<h2>|<a href='https://jwolpxeehx.feishu.cn/docx/KskPdU99FomufKx4G9hcQMeQnHv' target='_blank' rel='noopener'>使用说明</a>| \
|
43 |
+
|<a href='https://jwolpxeehx.feishu.cn/docx/RYHNd1tvEo8k8Mx9HeMcvvxWnvZ' target='_blank' rel='noopener'>User Guide</a>|</h2> \
|
44 |
+
<div align='left'> \
|
45 |
+
"
|
46 |
|
47 |
interface_list, tab_names = [], []
|
48 |
if not args.disable_generate:
|