ysharma HF staff commited on
Commit
fafb45a
β€’
1 Parent(s): 281b20b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ model.to("cuda:0")
20
  PLACEHOLDER = """
21
  <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
22
  <img src="https://cdn-thumbnails.huggingface.co/social-thumbnails/models/microsoft/Phi-3-vision-128k-instruct.png" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
23
- <h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Microsoft's Phi3-Vision-128k-Context</h1>
24
  <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Phi-3-Vision is a 4.2B parameter multimodal model that brings together language and vision capabilities.</p>
25
  </div>
26
  """
@@ -97,7 +97,7 @@ with gr.Blocks(fill_height=True, ) as demo:
97
  {"text": "Count the number of apples.", "files": ["./setofmark6.png"]},
98
  {"text": "I want to find a seat close to windows, where can I sit?", "files": ["./office1.jpg"]},
99
  ],
100
- description="Try [microsoft/Phi-3-vision-128k-instruct](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct). Upload an image and start chatting about it, or simply try one of the examples below. If you won't upload an image, you will receive an error. This is not the official demo.",
101
  stop_btn="Stop Generation",
102
  multimodal=True,
103
  textbox=chat_input,
 
20
  PLACEHOLDER = """
21
  <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
22
  <img src="https://cdn-thumbnails.huggingface.co/social-thumbnails/models/microsoft/Phi-3-vision-128k-instruct.png" style="width: 80%; max-width: 550px; height: auto; opacity: 0.55; ">
23
+ <h1 style="font-size: 28px; margin-bottom: 2px; opacity: 0.55;">Microsoft's Phi3 Vision</h1>
24
  <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Phi-3-Vision is a 4.2B parameter multimodal model that brings together language and vision capabilities.</p>
25
  </div>
26
  """
 
97
  {"text": "Count the number of apples.", "files": ["./setofmark6.png"]},
98
  {"text": "I want to find a seat close to windows, where can I sit?", "files": ["./office1.jpg"]},
99
  ],
100
+ description="Try the [Phi3-Vision model](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct) from Microsoft. Upload an image and start chatting about it, or simply try one of the examples below. If you won't upload an image, you will receive an error. This is not the official demo.",
101
  stop_btn="Stop Generation",
102
  multimodal=True,
103
  textbox=chat_input,