Skip to content

Commit

Permalink
autostart new ui & link to it (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsxdalv authored Jan 12, 2024
1 parent 5e16dd2 commit 7f81064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ https://github.com/rsxdalv/tts-generation-webui/discussions/186#discussioncommen
Jan 12:
* React UI: Fix names for audio actions
* Gradio: Fix multiple API warnings
* Integration - React UI now is launched alongside Gradio, with a link to open it.

Jan 11:
* React UI: Make the build work without any errors
Expand Down
5 changes: 4 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def reload_config_and_restart_ui():
title="TTS Generation WebUI",
analytics_enabled=False, # it broke too many times
) as demo:
gr.Markdown("# TTS Generation WebUI (Bark, MusicGen + AudioGen, Tortoise, RVC)")
gr.Markdown("# TTS Generation WebUI (Bark, MusicGen + AudioGen, Tortoise, RVC) [NEW React UI (Beta)](http://localhost:3000)")
with Joutai.singleton.tabs:
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
from src.settings_tab_gradio import settings_tab_gradio
Expand Down Expand Up @@ -156,5 +156,8 @@ def start_server():
).launch(**gradio_interface_options)



if __name__ == "__main__":
import subprocess
subprocess.Popen("npm start --prefix react-ui", shell=True)
start_server()

0 comments on commit 7f81064

Please sign in to comment.