VcRlAgent commited on
Commit
35eb91f
·
1 Parent(s): a82c70d

Initial WorkWise backend GPU

Browse files
Files changed (2) hide show
  1. Space.yaml +1 -1
  2. app/config.py +1 -1
Space.yaml CHANGED
@@ -2,7 +2,7 @@
2
 
3
  # We’re using a custom container because this is a GPU FastAPI backend.
4
  sdk: "docker"
5
- app_file: "app/main.py"
6
 
7
  # (Optional metadata)
8
  title: "WorkWise Backend GPU"
 
2
 
3
  # We’re using a custom container because this is a GPU FastAPI backend.
4
  sdk: "docker"
5
+ #app_file: "app/main.py"
6
 
7
  # (Optional metadata)
8
  title: "WorkWise Backend GPU"
app/config.py CHANGED
@@ -25,7 +25,7 @@ class Settings:
25
 
26
  # Server Configuration
27
  HOST: str = os.getenv("HOST", "0.0.0.0")
28
- PORT: int = int(os.getenv("PORT", 8000))
29
  LOG_LEVEL: str = os.getenv("LOG_LEVEL", "info")
30
 
31
  # CORS
 
25
 
26
  # Server Configuration
27
  HOST: str = os.getenv("HOST", "0.0.0.0")
28
+ PORT: int = int(os.getenv("PORT", 7860))
29
  LOG_LEVEL: str = os.getenv("LOG_LEVEL", "info")
30
 
31
  # CORS