Commit 5fac1de
authored
[Whisper] Fix lang code assignment (#549)
* Enhance language and task handling in Whisper model: Introduce optional parameters for language and task in the audio processing methods, improving flexibility and user control over transcription behavior.
* format
* Update version to 0.4.0 in version.py1 parent 3da730e commit 5fac1de
2 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
| 774 | + | |
773 | 775 | | |
774 | 776 | | |
775 | 777 | | |
| |||
851 | 853 | | |
852 | 854 | | |
853 | 855 | | |
854 | | - | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
855 | 860 | | |
856 | 861 | | |
857 | 862 | | |
| |||
870 | 875 | | |
871 | 876 | | |
872 | 877 | | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
877 | 882 | | |
878 | | - | |
| 883 | + | |
879 | 884 | | |
880 | 885 | | |
881 | 886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments