2026-09-17 23:32:31 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
2026-07-23 16:45:18 +08:00
|
|
|
|
2026-09-17 23:32:31 +08:00
|
|
|
"""Backward-compatible MiniCPM entry point for the shared realtime UI."""
|
2026-07-23 16:45:18 +08:00
|
|
|
|
2026-09-17 23:32:31 +08:00
|
|
|
from examples.online_serving.realtime_web.server import (
|
|
|
|
|
APP_DIR,
|
|
|
|
|
STATIC_DIR,
|
|
|
|
|
_join_ws_url,
|
|
|
|
|
build_app,
|
|
|
|
|
)
|
|
|
|
|
from examples.online_serving.realtime_web.server import (
|
|
|
|
|
main as _main,
|
|
|
|
|
)
|
2026-07-23 16:45:18 +08:00
|
|
|
|
2026-09-17 23:32:31 +08:00
|
|
|
__all__ = ["APP_DIR", "STATIC_DIR", "_join_ws_url", "build_app", "main"]
|
2026-07-23 16:45:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def main() -> None:
|
2026-09-17 23:32:31 +08:00
|
|
|
_main(default_profile="minicpm-native")
|
2026-07-23 16:45:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
main()
|