Skip to content

Commit fbe2a99

Browse files
bmehta001Copilot
andcommitted
Fix LiveAudioTranscription sample: replace removed EnsureEpsDownloadedAsync
The sample still referenced the old API that was replaced by DownloadAndRegisterEpsAsync in the explicit EP download changes. Also fix Rust formatting (.await on separate line). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f622c45 commit fbe2a99

File tree

1 file changed

+1
-1
lines changed
  • samples/cs/live-audio-transcription-example

1 file changed

+1
-1
lines changed

samples/cs/live-audio-transcription-example/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
await FoundryLocalManager.CreateAsync(config, Utils.GetAppLogger());
2121
var mgr = FoundryLocalManager.Instance;
2222

23-
await Utils.RunWithSpinner("Registering execution providers", mgr.EnsureEpsDownloadedAsync());
23+
await mgr.DownloadAndRegisterEpsAsync();
2424

2525
var catalog = await mgr.GetCatalogAsync();
2626

0 commit comments

Comments
 (0)