Spaces:
Running
Running
bug fixed
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
|
@@ -92,11 +92,11 @@ class SingingDialoguePipeline:
|
|
| 92 |
"svs_audio": (singing_audio, sample_rate),
|
| 93 |
}
|
| 94 |
if self.track_latency:
|
| 95 |
-
results["metrics"]
|
| 96 |
"asr_latency": asr_latency,
|
| 97 |
"llm_latency": llm_latency,
|
| 98 |
"svs_latency": svs_latency,
|
| 99 |
-
}
|
| 100 |
return results
|
| 101 |
|
| 102 |
def evaluate(self, audio_path):
|
|
|
|
| 92 |
"svs_audio": (singing_audio, sample_rate),
|
| 93 |
}
|
| 94 |
if self.track_latency:
|
| 95 |
+
results["metrics"] = {
|
| 96 |
"asr_latency": asr_latency,
|
| 97 |
"llm_latency": llm_latency,
|
| 98 |
"svs_latency": svs_latency,
|
| 99 |
+
}
|
| 100 |
return results
|
| 101 |
|
| 102 |
def evaluate(self, audio_path):
|