chendl commited on
Commit
0b559cc
1 Parent(s): e511b8d

update chat

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -18,6 +18,11 @@ 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
 
22
  flamingo, image_processor, tokenizer, vis_embed_size = create_model_and_transforms(
23
  "ViT-L-14",
 
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
+ Alternatively, you can also use the demo on our [project page](https://minigpt-4.github.io).
25
+ '''
26
 
27
  flamingo, image_processor, tokenizer, vis_embed_size = create_model_and_transforms(
28
  "ViT-L-14",