Skip to content

Commit

Permalink
Merge pull request #15 from tomchang25/v2.1
Browse files Browse the repository at this point in the history
V2.1 hotfix.1
  • Loading branch information
tomchang25 authored Apr 13, 2023
2 parents 816d37f + be38f18 commit c5c47fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ def git_clone(url, dir, name, commithash=None):

def start_webui():
print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
import gui
from gui import gui

gui.launch()
gui().launch()


if __name__ == "__main__":
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ transformers
ffmpeg-python
more-itertools
tqdm
decorator
yt_dlp
pysubs2
gradio==3.25.1b1
git+https://github.com/openai/whisper.git
git+https://github.com/linto-ai/whisper-timestamped
2 changes: 1 addition & 1 deletion src/transcribe_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def create_setting_tab():


def create_result_tab():
subtitle_file_path = gr.State()
subtitle_file_path = gr.Textbox(visible=False)
with gr.Box():
with gr.Column():
video_demo = gr.Video(
Expand Down

0 comments on commit c5c47fa

Please sign in to comment.