Spaces:
Running
on
Zero
Running
on
Zero
78 -> 8b
Browse files
app.py
CHANGED
@@ -78,9 +78,9 @@ def load_image(path: str, input_size: int = 448, max_num: int = 12):
|
|
78 |
|
79 |
|
80 |
# =============================================================================
|
81 |
-
# InternVL‑3‑
|
82 |
# =============================================================================
|
83 |
-
MODEL_ID = "OpenGVLab/InternVL3-
|
84 |
|
85 |
|
86 |
def split_model(model_name: str):
|
@@ -148,7 +148,7 @@ def internvl_inference(image_path: str | None, text_input: str | None = None):
|
|
148 |
# Gradio UI (image‑only, Gradio 5 compatible)
|
149 |
# =============================================================================
|
150 |
DESCRIPTION = (
|
151 |
-
"[InternVL 3‑
|
152 |
"upload an image and ask anything about it."
|
153 |
)
|
154 |
|
|
|
78 |
|
79 |
|
80 |
# =============================================================================
|
81 |
+
# InternVL‑3‑8B model loading (multi‑GPU aware)
|
82 |
# =============================================================================
|
83 |
+
MODEL_ID = "OpenGVLab/InternVL3-8B"
|
84 |
|
85 |
|
86 |
def split_model(model_name: str):
|
|
|
148 |
# Gradio UI (image‑only, Gradio 5 compatible)
|
149 |
# =============================================================================
|
150 |
DESCRIPTION = (
|
151 |
+
"[InternVL 3‑8B demo](https://huggingface.co/OpenGVLab/InternVL3-8B) — "
|
152 |
"upload an image and ask anything about it."
|
153 |
)
|
154 |
|