[Misc] Make gradio an optional dependency and upgrade to >=6.7.0 (#2221)

Signed-off-by: Lidang-Jiang <lidangjiang@gmail.com>
Signed-off-by: Lidang Jiang <lidangjiang@gmail.com>
This commit is contained in:
Lidang Jiang authored and GitHub committed 2026-03-28 12:33:55 -04:00
1 parent 283a62fd76
commit 168bea2440
19 files changed
+114 -10

No files matched your search

@@ -1,7 +1,10 @@
import argparse
from functools import lru_cache
import gradio as gr
try:
import gradio as gr
except ImportError:
raise ImportError("gradio is required to run this demo. Install it with: pip install 'vllm-omni[demo]'") from None
import torch
from vllm_omni.entrypoints.omni import Omni