CoolFace
Apppublic

RonyForAI/Mirage_DB_RL

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
app.py22 linesDownload Raw Back to server
1from openenv.core.env_server.http_server import create_app2import uvicorn3 4from Mirage_RL.models import QueryAction, QueryObservation5from Mirage_RL.server.Mirage_RL_environment import QueryEnv6 7 8app = create_app(9    QueryEnv,10    QueryAction,11    QueryObservation,12    env_name="Query_Optimizer",13    max_concurrent_envs=1,14)15 16 17def main():18    uvicorn.run(app, host="0.0.0.0", port=8000)19 20 21if __name__ == "__main__":22    main()