Spaces:
Running
on
CPU Spr
Running
on
CPU Spr
update model id
Browse files
app.py
CHANGED
|
@@ -59,10 +59,6 @@ def count_files_in_new_message(paths: list[str]) -> tuple[int, int]:
|
|
| 59 |
return video_count, non_video_count
|
| 60 |
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
def validate_media_constraints(message: dict) -> bool:
|
| 67 |
video_count, non_video_count = count_files_in_new_message(message["files"])
|
| 68 |
if video_count > 1:
|
|
@@ -259,9 +255,12 @@ examples = [
|
|
| 259 |
|
| 260 |
|
| 261 |
model_choices = [
|
| 262 |
-
"echarlaix/SmolVLM2-500M-Video-Instruct-openvino",
|
| 263 |
-
"echarlaix/SmolVLM2-500M-Video-Instruct-openvino-8bit-static",
|
| 264 |
-
"echarlaix/SmolVLM2-500M-Video-Instruct-openvino-8bit-woq",
|
|
|
|
|
|
|
|
|
|
| 265 |
]
|
| 266 |
|
| 267 |
demo = gr.ChatInterface(
|
|
|
|
| 59 |
return video_count, non_video_count
|
| 60 |
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
def validate_media_constraints(message: dict) -> bool:
|
| 63 |
video_count, non_video_count = count_files_in_new_message(message["files"])
|
| 64 |
if video_count > 1:
|
|
|
|
| 255 |
|
| 256 |
|
| 257 |
model_choices = [
|
| 258 |
+
#"echarlaix/SmolVLM2-500M-Video-Instruct-openvino",
|
| 259 |
+
#"echarlaix/SmolVLM2-500M-Video-Instruct-openvino-8bit-static",
|
| 260 |
+
#"echarlaix/SmolVLM2-500M-Video-Instruct-openvino-8bit-woq",
|
| 261 |
+
"echarlaix/SmolVLM2-256M-Video-Instruct-openvino",
|
| 262 |
+
"echarlaix/SmolVLM2-256M-Video-Instruct-openvino-8bit-woq-data-free",
|
| 263 |
+
"echarlaix/SmolVLM2-256M-Video-Instruct-openvino-8bit-static-2",
|
| 264 |
]
|
| 265 |
|
| 266 |
demo = gr.ChatInterface(
|