""" Render: Thumbnail Editor atrĂ¡s do GamifyGate (mesmo esquema do Content Processor). Start command (Dockerfile): uvicorn server:app --host 0.0.0.0 --port ${PORT:-10000} --proxy-headers --forwarded-allow-ips="*" """ import gradio as gr from fastapi import FastAPI from app import LAUNCH_KWARGS, _params, demo _mount_kwargs = {k: v for k, v in LAUNCH_KWARGS.items() if k in _params(gr.mount_gradio_app)} app = gr.mount_gradio_app(FastAPI(), demo, path="/", **_mount_kwargs)