programmnix-askui commited on
Commit
55bbc1c
Β·
1 Parent(s): e593add

test input

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,7 +108,7 @@ def deepseek(image, text_input):
108
  det_pattern = r"<\|det\|>\[\[(.+)]]<\|\/det\|>"
109
 
110
  det_content = re.search(det_pattern, answer).group(1)
111
- bbox = [ int(v.trim()) / 999 for v in det_content.split(",")]
112
  w, h = image.size()
113
  bbox = [bbox[0] * w, bbox[1] * h, bbox[2] * w, bbox[3] * h]
114
 
@@ -181,7 +181,7 @@ css = """
181
  with gr.Blocks(css=css) as demo:
182
  gr.Markdown(
183
  """
184
- # Demo for OS-ATLAS: A Foundation Action Model For Generalist GUI Agents
185
  """)
186
  with gr.Row():
187
  with gr.Column():
 
108
  det_pattern = r"<\|det\|>\[\[(.+)]]<\|\/det\|>"
109
 
110
  det_content = re.search(det_pattern, answer).group(1)
111
+ bbox = [ int(v.strip()) / 999 for v in det_content.split(",")]
112
  w, h = image.size()
113
  bbox = [bbox[0] * w, bbox[1] * h, bbox[2] * w, bbox[3] * h]
114
 
 
181
  with gr.Blocks(css=css) as demo:
182
  gr.Markdown(
183
  """
184
+ # Demo for Deepseek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understanding
185
  """)
186
  with gr.Row():
187
  with gr.Column():