Spaces:
Sleeping
Sleeping
Subhash Vadaparthi commited on
Commit ·
b00fe30
1
Parent(s): 98b7898
Fix multi-mode deployment: add server/app.py, uv.lock, update pyproject.toml
Browse filesFiles changed (4)
- pyproject.toml+7-3
- server/__init__.pyAdded+1
- server/app.pyAdded+5
- uv.lockAdded
2 unmodified lines345667899101112131415161718192021222320242 unmodified linesbuild-backend = "setuptools.backends.legacy:build"
[project]name = "healthcare-rl-env"name = "openenv-hackathon"version = "1.0.0"description = "Healthcare Appointment Scheduling RL Environment"requires-python = ">=3.9"requires-python = ">=3.10"dependencies = [ "fastapi", "uvicorn[standard]", "pydantic", "typing-extensions", "openai", "openenv-core>=0.2.0",]
[project.scripts]server = "server.app:app"
[tool.setuptools.packages.find]where = ["."]include = ["app*"]include = ["app*", "server*"]1# server package12345from app.main import app
if __name__ == "__main__": import uvicorn uvicorn.run(app, host="0.0.0.0", port=7860)pyproject.toml+7-3
server/__init__.pyAdded+1
server/app.pyAdded+5
uv.lockAdded