tori29umai commited on
Commit
97803a9
1 Parent(s): d59a4dd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ IS_SPACES_ZERO = os.environ.get("SPACES_ZERO_GPU", "0") == "1"
36
  IS_SPACE = os.environ.get("SPACE_ID", None) is not None
37
 
38
  device = "cuda" if torch.cuda.is_available() else "cpu"
39
- dtype = torch.float
40
 
41
  LOW_MEMORY = os.getenv("LOW_MEMORY", "0") == "1"
42
 
 
36
  IS_SPACE = os.environ.get("SPACE_ID", None) is not None
37
 
38
  device = "cuda" if torch.cuda.is_available() else "cpu"
39
+ dtype = torch.float16
40
 
41
  LOW_MEMORY = os.getenv("LOW_MEMORY", "0") == "1"
42