mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-19 02:32:11 +00:00
19 lines
846 B
Plaintext
19 lines
846 B
Plaintext
@inherits MSGComponentBase
|
|
@inject MediaTranscriptionService MediaTranscriptionService
|
|
@using AIStudio.Tools.Services
|
|
|
|
@if (this.MediaTranscriptionService.IsBusy)
|
|
{
|
|
<MudPaper Outlined="true" Class="pa-2 mb-2">
|
|
<MudStack Row="true" AlignItems="AlignItems.Center">
|
|
<MudProgressCircular Size="Size.Small" Indeterminate="@(this.MediaTranscriptionService.Progress is null)" Value="@((this.MediaTranscriptionService.Progress ?? 0) * 100)"/>
|
|
<MudText Typo="Typo.body2">
|
|
@this.StatusText
|
|
</MudText>
|
|
<MudSpacer/>
|
|
<MudTooltip Text="@T("Stop media transcription")">
|
|
<MudIconButton Icon="@Icons.Material.Filled.Stop" Color="Color.Error" OnClick="@this.MediaTranscriptionService.StopAsync"/>
|
|
</MudTooltip>
|
|
</MudStack>
|
|
</MudPaper>
|
|
} |