gulixin0922 commited on
Commit
9da9834
1 Parent(s): 4b3f82e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -285,7 +285,7 @@ def http_bot(
285
 
286
  try:
287
  # Stream output
288
- response = requests.post(worker_addr, json=pload, headers=headers, stream=True, timeout=40)
289
  finnal_output = ''
290
  for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\n"):
291
  if chunk:
@@ -349,13 +349,13 @@ def http_bot(
349
 
350
  # <h1 style="font-size: 28px; font-weight: bold;">Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling</h1>
351
  title_html = """
352
- <div align="center">
353
- <img src="https://internvl.opengvlab.com/assets/logo-47b364d3.jpg" style="width: 280px; height: 70px;">
354
- <p>InternVL2.5: Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling</p>
355
- <a href="https://internvl.github.io/blog/2024-12-05-InternVL-2.5/">[📜 InternVL Blog]</a>
356
- <a href="https://internvl.opengvlab.com/">[🌟 Official Demo]</a>
357
- <a href="https://github.com/OpenGVLab/InternVL?tab=readme-ov-file#quick-start-with-huggingface">[🚀 Quick Start]</a>
358
- </div>
359
  """
360
 
361
 
 
285
 
286
  try:
287
  # Stream output
288
+ response = requests.post(worker_addr, json=pload, headers=headers, stream=True, timeout=300)
289
  finnal_output = ''
290
  for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\n"):
291
  if chunk:
 
349
 
350
  # <h1 style="font-size: 28px; font-weight: bold;">Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling</h1>
351
  title_html = """
352
+ <img src="https://internvl.opengvlab.com/assets/logo-47b364d3.jpg" style="width: 280px; height: 70px;">
353
+ <p>InternVL2.5: Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling</p>
354
+ <a href="https://internvl.github.io/blog/2024-12-05-InternVL-2.5/">[🆕 InternVL Blog]</a>
355
+ <a href="https://huggingface.co/papers/2412.05271">[📖 InternVL Paper]</a>
356
+ <a href="https://github.com/OpenGVLab/InternVL">[🌟 Github]</a><br>
357
+ <a href="https://internvl.readthedocs.io/en/latest/">[📜 Document]</a>
358
+ <a href="https://internvl.opengvlab.com/">[🗨️ Official Demo]</a>
359
  """
360
 
361