You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: whisperGUI.py
+64-6Lines changed: 64 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
fromgooeyimportGooey, GooeyParser
2
2
importsubprocess
3
3
importos
4
+
importre
4
5
5
6
@Gooey(program_name='whisper.cppGUI',
6
7
menu=[{'name': 'File',
@@ -66,15 +67,32 @@ def main():
66
67
'--speed-up',
67
68
action='store_true',
68
69
help='check to speed up audio by factor of 2 (faster processing, reduced accuracy)')
69
-
args=parser.parse_args()
70
+
71
+
parser.add_argument(
72
+
'--speed-up2',
73
+
action='store',
74
+
default=1,
75
+
help='alternative speed up based on FFMPEG. Type here the speed up factor (e.g. 1.5). This enables automatically SRT output with corrected timestamps',
76
+
widget='DecimalField')
77
+
78
+
parser.add_argument(
79
+
'--others',
80
+
action='store',
81
+
default="",
82
+
help='This textbox lets the user add other command line parameters that are not included in this GUI')
0 commit comments