rewored webapp

This commit is contained in:
Jaikinator
2023-09-18 14:39:34 +02:00
parent fd80276dd6
commit e76b7b51a5
6 changed files with 533 additions and 54 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import json
from sympy import use
from .autotranscript import AutoTranscribe
from .app.gradio_app import gradio_Interface
from whisper.tokenizer import LANGUAGES , TO_LANGUAGE_CODE
from torch.cuda import is_available
@@ -160,7 +161,7 @@ def cli():
if start_server: # unfinished code
from .app.gradio_app import gradio_Interface
gradio_Interface(model).queue().launch(server_port=args.port, server_name=args.server_name)