Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
davertor
/
colorizing_images
like
34
Runtime error
App
Files
Files
Community
1
2f2e4c6
colorizing_images
/
deoldify
/
device_id.py
Daniel Verdu
first commit2
0cb9530
almost 3 years ago
raw
Copy download link
history
blame
No virus
176 Bytes
from
enum
import
IntEnum
class
DeviceId
(
IntEnum
):
GPU0 =
0
,
GPU1 =
1
,
GPU2 =
2
,
GPU3 =
3
,
GPU4 =
4
,
GPU5 =
5
,
GPU6 =
6
,
GPU7 =
7
,
CPU =
99