change flask port to accept args port

pull/15/head
Michael Nguyen 2018-07-03 19:43:05 -05:00
parent ea21e9d30e
commit 3924367392
1 changed files with 1 additions and 1 deletions

View File

@ -101,4 +101,4 @@ if __name__ == '__main__':
hparams.parse(args.hparams)
print(hparams_debug_string())
synthesizer.load(args.checkpoint)
app.run(host='0.0.0.0', port=3000)
app.run(host='0.0.0.0', port=args.port)