Spaces:
Runtime error
Runtime error
mattmdjaga
commited on
Commit
•
9aff4b8
1
Parent(s):
13e3eda
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
13 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
14 |
|
15 |
# Load example dataset
|
16 |
-
dataset = load_dataset("xzuyn/dalle-3_vs_sd-v1-5_dpo", num_proc=
|
17 |
|
18 |
processor_name = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
|
19 |
model_name = "yuvalkirstain/PickScore_v1"
|
|
|
13 |
dtype = torch.float16 if device == "cuda" else torch.float32
|
14 |
|
15 |
# Load example dataset
|
16 |
+
dataset = load_dataset("xzuyn/dalle-3_vs_sd-v1-5_dpo", num_proc=4)
|
17 |
|
18 |
processor_name = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
|
19 |
model_name = "yuvalkirstain/PickScore_v1"
|