Spaces:
Running
Running
Asr for dataset draft
Browse files
app.py
CHANGED
|
@@ -435,6 +435,15 @@ def generate_matching_pairs(samples: List[Sample]) -> List[Tuple[Sample, Sample]
|
|
| 435 |
|
| 436 |
return matching_pairs
|
| 437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 438 |
# List[Tuple[Sample, Sample]]
|
| 439 |
all_pairs = []
|
| 440 |
|
|
|
|
| 435 |
|
| 436 |
return matching_pairs
|
| 437 |
|
| 438 |
+
cached_audio = []
|
| 439 |
+
|
| 440 |
+
@spaces.GPU(duration=10)
|
| 441 |
+
def asr_cached_for_dataset():
|
| 442 |
+
|
| 443 |
+
for caudio in cached_audio:
|
| 444 |
+
pass
|
| 445 |
+
return True
|
| 446 |
+
|
| 447 |
# List[Tuple[Sample, Sample]]
|
| 448 |
all_pairs = []
|
| 449 |
|