Aman Khare commited on
Commit
e9fdb4a
·
1 Parent(s): 0e62a40

final edits for submission

Browse files
Files changed (4) hide show
  1. pyproject.toml +4 -0
  2. requirements.txt +1 -0
  3. server/app.py +7 -0
  4. uv.lock +0 -0
pyproject.toml CHANGED
@@ -13,4 +13,8 @@ dependencies = [
13
  "uvicorn>=0.29.0",
14
  "pydantic>=2.7.0",
15
  "openai>=1.30.0",
 
16
  ]
 
 
 
 
13
  "uvicorn>=0.29.0",
14
  "pydantic>=2.7.0",
15
  "openai>=1.30.0",
16
+ "openenv-core>=0.2.0",
17
  ]
18
+
19
+ [project.scripts]
20
+ server = "server.app:main"
requirements.txt CHANGED
@@ -2,3 +2,4 @@ fastapi>=0.110.0
2
  uvicorn>=0.29.0
3
  pydantic>=2.7.0
4
  openai>=1.30.0
 
 
2
  uvicorn>=0.29.0
3
  pydantic>=2.7.0
4
  openai>=1.30.0
5
+ openenv-core>=0.2.0
server/app.py CHANGED
@@ -51,3 +51,10 @@
51
  async def root():
52
  """Redirect to the FastAPI interactive documentation."""
53
  return RedirectResponse(url="/docs")
 
 
 
 
 
 
 
 
51
  async def root():
52
  """Redirect to the FastAPI interactive documentation."""
53
  return RedirectResponse(url="/docs")
54
+
55
+ def main():
56
+ import uvicorn
57
+ uvicorn.run("server.app:app", host="0.0.0.0", port=7860)
58
+
59
+ if __name__ == "__main__":
60
+ main()
uv.lock ADDED
The diff for this file is too large to render. See raw diff