make it beautiful
Browse files- tempofunk-s.py +1 -4
tempofunk-s.py
CHANGED
|
@@ -79,16 +79,13 @@ class FunkLoaderStream(datasets.GeneratorBasedBuilder):
|
|
| 79 |
txt_embed = numpy.load(prompt_binary)
|
| 80 |
vid_embed = numpy.load(frames_binary)
|
| 81 |
|
| 82 |
-
# txt_embed = torch.load(open(prompt_binary, 'rb')).cpu().detach().numpy()
|
| 83 |
-
# vid_embed = torch.load(open(frames_binary, 'rb'))
|
| 84 |
-
|
| 85 |
print(vid_embed.shape)
|
| 86 |
|
| 87 |
yield metadata['id'], {
|
| 88 |
"id": metadata['id'],
|
|
|
|
| 89 |
"prompt": txt_embed,
|
| 90 |
"video": vid_embed,
|
| 91 |
-
"description": metadata['description'],
|
| 92 |
"videourl": metadata['videourl'],
|
| 93 |
"categories": metadata['categories'],
|
| 94 |
"duration": metadata['duration'],
|
|
|
|
| 79 |
txt_embed = numpy.load(prompt_binary)
|
| 80 |
vid_embed = numpy.load(frames_binary)
|
| 81 |
|
|
|
|
|
|
|
|
|
|
| 82 |
print(vid_embed.shape)
|
| 83 |
|
| 84 |
yield metadata['id'], {
|
| 85 |
"id": metadata['id'],
|
| 86 |
+
"description": metadata['description'],
|
| 87 |
"prompt": txt_embed,
|
| 88 |
"video": vid_embed,
|
|
|
|
| 89 |
"videourl": metadata['videourl'],
|
| 90 |
"categories": metadata['categories'],
|
| 91 |
"duration": metadata['duration'],
|