Spaces:
Runtime error
Runtime error
Vision-CAIR
commited on
Commit
β’
fecea78
1
Parent(s):
6070b66
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,18 @@ def setup_seeds(config):
|
|
47 |
# Model Initialization
|
48 |
# ========================================
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
print('Initializing Chat')
|
51 |
cfg = Config(parse_args())
|
52 |
|
|
|
47 |
# Model Initialization
|
48 |
# ========================================
|
49 |
|
50 |
+
SHARED_UI_WARNING = f'''### [NOTE] It is possible that you are waiting in a lengthy queue.
|
51 |
+
|
52 |
+
You can duplicate and use it with a paid private GPU.
|
53 |
+
|
54 |
+
<a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/Vision-CAIR/minigpt4?duplicate=true"><img style="margin-top:0;margin-bottom:0" src="https://huggingface.co/datasets/huggingface/badges/raw/main/duplicate-this-space-xl-dark.svg" alt="Duplicate Space"></a>
|
55 |
+
|
56 |
+
Alternatively, you can also use the demo on our project page.
|
57 |
+
|
58 |
+
<a style="display:inline-block" href="https://minigpt-4.github.io"><img style="margin-top:0;margin-bottom:0" src="https://img.shields.io/badge/Project%20Page-online-brightgreen"></a>
|
59 |
+
|
60 |
+
'''
|
61 |
+
|
62 |
print('Initializing Chat')
|
63 |
cfg = Config(parse_args())
|
64 |
|