tidalove commited on
Commit
03ba85a
·
verified ·
1 Parent(s): 5080b19

Update test_api.py

Browse files
Files changed (1) hide show
  1. test_api.py +1 -1
test_api.py CHANGED
@@ -58,7 +58,7 @@ def run_adain(content_dir, style_dataset_pth, out_dir, alpha=1.0, dataset_size=1
58
  # Timer
59
  times = []
60
 
61
- style_ds = load_dataset(style_dataset_pth, split="train", token=os.getenv("PALEO_DATASET"))
62
 
63
  if num_content_imgs * len(style_ds) > dataset_size:
64
  num_style_per_content = int(np.ceil(dataset_size / num_content_imgs))
 
58
  # Timer
59
  times = []
60
 
61
+ style_ds = load_dataset(style_dataset_pth, split="train", token=os.getenv("PALEO_SECRET"))
62
 
63
  if num_content_imgs * len(style_ds) > dataset_size:
64
  num_style_per_content = int(np.ceil(dataset_size / num_content_imgs))