decompress / app.py
squaredcuber's picture
Deploy Decompress MiniCPM demo
bcbb8c5 verified
Raw
History Blame Contribute Delete
351 Bytes
from __future__ import annotations
import os
from apps.decompress.app import CSS, JS, build_app
demo = build_app()
demo.queue(default_concurrency_limit=4)
if __name__ == "__main__":
demo.launch(
server_name="0.0.0.0",
server_port=int(os.getenv("PORT", "7860")),
show_error=True,
css=CSS,
js=JS,
)