You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .env.example
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,7 @@ DETOXIFY_MODEL=unbiased-small
10
10
ENABLE_CACHE=false
11
11
12
12
# (Optional. Default: 60. Options: integer value) Duration of cache in seconds. Parameter will be used when the cache is enabled
13
-
CACHE_DURATION_SECONDS=60
13
+
CACHE_DURATION_SECONDS=60
14
+
15
+
# (Optional. Default: auto. Options: auto,cpu,cuda) Set torch default device for detoxify library. Automatically detect if cuda/gpu device is available
0 commit comments