Skip to content

Commit c2a6cff

Browse files
ELin2025claude
andcommitted
style(frontend): format audio upload HTML with prettier
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 94e4c20 commit c2a6cff

1 file changed

Lines changed: 23 additions & 6 deletions

File tree

frontend/src/app/workspace/component/hugging-face-audio-upload/hugging-face-audio-upload.component.html

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
<div class="hf-audio-upload">
2121
<div class="hf-audio-guidance">
22-
Audio files are uploaded to temporary backend storage and referenced from the operator, so larger clips can be used without bloating the workflow JSON.
22+
Audio files are uploaded to temporary backend storage and referenced from the operator, so larger clips can be used
23+
without bloating the workflow JSON.
2324
</div>
2425

2526
<input
@@ -29,16 +30,32 @@
2930
class="hf-audio-upload-input"
3031
(change)="onFileSelected($event)" />
3132

32-
<div *ngIf="previewSrc" class="hf-audio-preview">
33-
<audio controls [src]="previewSrc"></audio>
33+
<div
34+
*ngIf="previewSrc"
35+
class="hf-audio-preview">
36+
<audio
37+
controls
38+
[src]="previewSrc"></audio>
3439
<div class="hf-audio-meta">
3540
<span>{{ fileName || "Selected audio" }}</span>
36-
<span *ngIf="isUploading" class="hf-audio-status">Uploading...</span>
37-
<button nz-button nzSize="small" type="button" (click)="clearAudio(fileInput)">Clear</button>
41+
<span
42+
*ngIf="isUploading"
43+
class="hf-audio-status"
44+
>Uploading...</span
45+
>
46+
<button
47+
nz-button
48+
nzSize="small"
49+
type="button"
50+
(click)="clearAudio(fileInput)">
51+
Clear
52+
</button>
3853
</div>
3954
</div>
4055

41-
<div *ngIf="errorMessage" class="hf-audio-error">
56+
<div
57+
*ngIf="errorMessage"
58+
class="hf-audio-error">
4259
{{ errorMessage }}
4360
</div>
4461
</div>

0 commit comments

Comments
 (0)