Spaces:
Running on Zero
Running on Zero
Commit ·
dcb580e
1
Parent(s): d5eb1f4
Use sdpa for VoiceBridge ASR
Browse files
scripts/workflow_client.py
CHANGED
|
@@ -45,6 +45,7 @@ def patch_voicegate_workflow(
|
|
| 45 |
patched["180"]["inputs"]["filename_prefix"] = f"audio/voicegate_{job}"
|
| 46 |
patched["214"]["inputs"]["filename_prefix"] = f"VoiceBridge/subtitle_{job}"
|
| 47 |
patched["31"]["inputs"].setdefault("source", "HuggingFace")
|
|
|
|
| 48 |
return patched
|
| 49 |
|
| 50 |
|
|
|
|
| 45 |
patched["180"]["inputs"]["filename_prefix"] = f"audio/voicegate_{job}"
|
| 46 |
patched["214"]["inputs"]["filename_prefix"] = f"VoiceBridge/subtitle_{job}"
|
| 47 |
patched["31"]["inputs"].setdefault("source", "HuggingFace")
|
| 48 |
+
patched["31"]["inputs"]["attention"] = "sdpa"
|
| 49 |
return patched
|
| 50 |
|
| 51 |
|