yukee1992 commited on
Commit
eb3c99d
·
verified ·
1 Parent(s): 6231f89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ OCI_UPLOAD_API_URL = os.getenv("OCI_UPLOAD_API_URL", "").strip()
32
  if OCI_UPLOAD_API_URL:
33
  OCI_UPLOAD_API_URL = OCI_UPLOAD_API_URL.rstrip('/')
34
 
35
- print(f"🔧 Using device: {DEVICE} (forced CPU for compatibility)")
36
 
37
  # Initialize FastAPI app
38
  app = FastAPI(
 
32
  if OCI_UPLOAD_API_URL:
33
  OCI_UPLOAD_API_URL = OCI_UPLOAD_API_URL.rstrip('/')
34
 
35
+ print(f"🔧 Using device: {DEVICE} (forced CPU for Hugging Face Spaces compatibility)")
36
 
37
  # Initialize FastAPI app
38
  app = FastAPI(