mirror of https://github.com/coqui-ai/TTS.git
Removed unneeded check and removed specific taco2 model name.
This commit is contained in:
parent
e414582be6
commit
afb7db2a1d
|
@ -73,9 +73,7 @@ def index():
|
|||
|
||||
@app.route('/details')
|
||||
def details():
|
||||
if args.tts_config is not None and os.path.isfile(args.tts_config):
|
||||
taco2_config = load_config(args.tts_config)
|
||||
|
||||
model_config = load_config(args.tts_config)
|
||||
if args.vocoder_config is not None and os.path.isfile(args.vocoder_config):
|
||||
vocoder_config = load_config(args.vocoder_config)
|
||||
else:
|
||||
|
@ -83,7 +81,7 @@ def details():
|
|||
|
||||
return render_template('details.html',
|
||||
show_details=args.show_details
|
||||
, taco2_config=taco2_config
|
||||
, model_config=model_config
|
||||
, vocoder_config=vocoder_config
|
||||
, args=args.__dict__
|
||||
)
|
||||
|
|
|
@ -62,10 +62,10 @@
|
|||
|
||||
<div class="container">
|
||||
|
||||
{% if taco2_config != None %}
|
||||
{% if model_config != None %}
|
||||
|
||||
<details>
|
||||
<summary>Tacotron2 model config:</summary>
|
||||
<summary>Model config:</summary>
|
||||
|
||||
<table border="1" align="center" width="75%">
|
||||
<tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
</tr>
|
||||
|
||||
|
||||
{% for key, value in taco2_config.items() %}
|
||||
{% for key, value in model_config.items() %}
|
||||
|
||||
<tr>
|
||||
<td>{{ key }}</td>
|
||||
|
|
Loading…
Reference in New Issue