Spaces:
Runtime error
Runtime error
update chat
Browse files
app.py
CHANGED
@@ -18,10 +18,14 @@ from huggingface_hub import hf_hub_download, login
|
|
18 |
|
19 |
from open_flamingo.src.factory import create_model_and_transforms
|
20 |
from open_flamingo.chat.conversation import Chat, CONV_VISION
|
|
|
21 |
SHARED_UI_WARNING = f'''### [NOTE] It is possible that you are waiting in a lengthy queue.
|
|
|
22 |
You can duplicate and use it with a paid private GPU.
|
|
|
23 |
<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>
|
24 |
-
|
|
|
25 |
'''
|
26 |
|
27 |
flamingo, image_processor, tokenizer, vis_embed_size = create_model_and_transforms(
|
|
|
18 |
|
19 |
from open_flamingo.src.factory import create_model_and_transforms
|
20 |
from open_flamingo.chat.conversation import Chat, CONV_VISION
|
21 |
+
|
22 |
SHARED_UI_WARNING = f'''### [NOTE] It is possible that you are waiting in a lengthy queue.
|
23 |
+
|
24 |
You can duplicate and use it with a paid private GPU.
|
25 |
+
|
26 |
<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>
|
27 |
+
|
28 |
+
Alternatively, you can also use the demo on our [project page](https://compositionalvlm.github.io/).
|
29 |
'''
|
30 |
|
31 |
flamingo, image_processor, tokenizer, vis_embed_size = create_model_and_transforms(
|