Niansuh commited on
Commit
e1e839e
·
verified ·
1 Parent(s): abf5e46

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;">ChatGPTBots.net - 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
  """
@@ -90,7 +90,7 @@ chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeh
90
  with gr.Blocks(fill_height=True, ) as demo:
91
  gr.ChatInterface(
92
  fn=bot_streaming,
93
- title="Phi3 Vision 128K Instruct",
94
  examples=[{"text": "Describe the image in details?", "files": ["./robo.jpg"]},
95
  {"text": "What does the chart display?", "files": ["./dataviz.png"]},
96
  {"text": "What is 3?", "files": ["./setofmark1.jpg"]},
 
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
  """
 
90
  with gr.Blocks(fill_height=True, ) as demo:
91
  gr.ChatInterface(
92
  fn=bot_streaming,
93
+ title="ChatGPTBots.net - Phi3 Vision 128K Instruct",
94
  examples=[{"text": "Describe the image in details?", "files": ["./robo.jpg"]},
95
  {"text": "What does the chart display?", "files": ["./dataviz.png"]},
96
  {"text": "What is 3?", "files": ["./setofmark1.jpg"]},