mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
Server updates
This commit is contained in:
1 parent
800b77eb10
commit
ff33604df1
4 files changed
+95
-42
No files matched your search
+1
-4
@@ -11,10 +11,7 @@ args = parser.parse_args()
|
||||
|
||||
config = load_config(args.config_path)
|
||||
app = Flask(__name__)
|
||||
synthesizer = Synthesizer()
|
||||
synthesizer.load_model(config.model_path, config.model_name,
|
||||
config.model_config, config.use_cuda)
|
||||
|
||||
synthesizer = Synthesizer(config)
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
|
||||
Reference in new issue
Block a user