Update
Browse filesFiles changed (5)
1Subproject commit 116a27ae1c9236d2271fbcf949aeb787d4ed62491Subproject commit 1395b219fcece1be0d956622036db00fbae840af
29 unmodified lines3031323334353629 unmodified linesparser = argparse.ArgumentParser(description="Launch integrated RobotHub Inference Server with FastAPI + Gradio")parser.add_argument("--host", default="localhost", help="Host to bind to")parser.add_argument("--port", type=int, default=7860, help="Port to bind to")parser.add_argument("--share", action="store_true", help="Create public Gradio link"29 unmodified lines3031323334353629 unmodified linesparser = argparse.ArgumentParser(description="Launch integrated RobotHub Inference Server with FastAPI + Gradio")parser.add_argument("--host", default="0.0.0.0", help="Host to bind to")parser.add_argument("--port", type=int, default=7860, help="Port to bind to")parser.add_argument("--share", action="store_true", help="Create public Gradio link"
19 unmodified lines202122232425266 unmodified lines3334353637383936 unmodified lines767778798081824 unmodified lines8788899091929319 unmodified lines)def launch_server_only(host: str = "localhost", port: int = 8001, reload: bool = True):"""Launch only the AI server."""print(f"🚀 Starting RobotHub Inference Server on {host}:{port}")uvicorn.run(6 unmodified linesdef launch_integrated_app(host: str = "localhost", port: int = 7860, share: bool = False, debug: bool = False):"""Launch the integrated app (UI + Server)."""print(f"🎨 Starting Integrated RobotHub App on {host}:{port}")36 unmodified lines# Server configurationparser.add_argument("--server-host", default="localhost", help="AI server host (default: localhost)")parser.add_argument("--server-port", type=int, default=8001, help="AI server port (default: 8001)"4 unmodified lines# App configurationparser.add_argument("--host", default="localhost", help="App host (default: localhost)")parser.add_argument("--port", type=int, default=7860, help="App port (default: 7860)"19 unmodified lines202122232425266 unmodified lines3334353637383936 unmodified lines767778798081824 unmodified lines8788899091929319 unmodified lines)def launch_server_only(host: str = "0.0.0.0", port: int = 8001, reload: bool = True):"""Launch only the AI server."""print(f"🚀 Starting RobotHub Inference Server on {host}:{port}")uvicorn.run(6 unmodified linesdef launch_integrated_app(host: str = "0.0.0.0", port: int = 7860, share: bool = False, debug: bool = False):"""Launch the integrated app (UI + Server)."""print(f"🎨 Starting Integrated RobotHub App on {host}:{port}")36 unmodified lines# Server configurationparser.add_argument("--server-host", default="0.0.0.0", help="AI server host (default: localhost)")parser.add_argument("--server-port", type=int, default=8001, help="AI server port (default: 8001)"4 unmodified lines# App configurationparser.add_argument("--host", default="0.0.0.0", help="App host (default: localhost)")parser.add_argument("--port", type=int, default=7860, help="App port (default: 7860)"
189 unmodified lines190191192193194195196189 unmodified linesport = int(os.environ.get("PORT", "8001"))uvicorn.run("inference_server.main:app",host="localhost",port=port,reload=False,log_level="info",189 unmodified lines190191192193194195196189 unmodified linesport = int(os.environ.get("PORT", "8001"))uvicorn.run("inference_server.main:app",host="0.0.0.0",port=port,reload=False,log_level="info",
36 unmodified lines37383940414243363 unmodified lines40740840941041141241336 unmodified linesdef run_server():global server_startedlogger.info(f"Starting AI server on port {port}")uvicorn.run(fastapi_app, host="localhost", port=port, log_level="warning")server_started = Falseserver_thread = threading.Thread(target=run_server, daemon=True)363 unmodified linesdef launch_simple_integrated_app(host: str = "localhost",port: int = DEFAULT_PORT,share: bool = False,transport_server_url: str = DEFAULT_TRANSPORT_SERVER_URL,36 unmodified lines37383940414243363 unmodified lines40740840941041141241336 unmodified linesdef run_server():global server_startedlogger.info(f"Starting AI server on port {port}")uvicorn.run(fastapi_app, host="0.0.0.0", port=port, log_level="warning")server_started = Falseserver_thread = threading.Thread(target=run_server, daemon=True)363 unmodified linesdef launch_simple_integrated_app(host: str = "0.0.0.0",port: int = DEFAULT_PORT,share: bool = False,transport_server_url: str = DEFAULT_TRANSPORT_SERVER_URL,
external/RobotHub-TransportServer+1-1
launch_simple.py+1-1
src/inference_server/cli.py+4-4
src/inference_server/main.py+1-1
src/inference_server/simple_integrated.py+2-2