Un comment argparse import
Browse files- subtify.py +3 -2
subtify.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
# import os
|
3 |
# import torch
|
4 |
# from time import sleep
|
5 |
# from tqdm import tqdm
|
6 |
-
# import argparse
|
7 |
# from lang_list import union_language_dict
|
8 |
# # import pyperclip
|
9 |
# from pytube import YouTube
|
@@ -512,6 +512,7 @@ if __name__ == "__main__":
|
|
512 |
args = parser.parse_args()
|
513 |
|
514 |
if args.no_ui:
|
515 |
-
|
|
|
516 |
else:
|
517 |
subtify()
|
|
|
1 |
import gradio as gr
|
2 |
+
import argparse
|
3 |
# import os
|
4 |
# import torch
|
5 |
# from time import sleep
|
6 |
# from tqdm import tqdm
|
|
|
7 |
# from lang_list import union_language_dict
|
8 |
# # import pyperclip
|
9 |
# from pytube import YouTube
|
|
|
512 |
args = parser.parse_args()
|
513 |
|
514 |
if args.no_ui:
|
515 |
+
pass
|
516 |
+
# subtify_no_ui()
|
517 |
else:
|
518 |
subtify()
|