Server updates

This commit is contained in:
Eren Golge
2019-04-15 16:13:33 +02:00
parent 800b77eb10
commit ff33604df1
4 changed files with 95 additions and 42 deletions
+1 -4
View File
@@ -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():