1
0
This commit is contained in:
mrq 2023-02-22 03:21:03 +00:00
parent c4b41e07fa
commit 93b061fb4d
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ def optimize_training_settings( epochs, batch_size, learning_rate, learning_rate
if half_p:
messages.append("Half Precision requested. Please note this is ! EXPERIMENTAL !")
if not os.path.exists(get_halfp_model()):
if not os.path.exists(get_halfp_model_path()):
convert_to_halfp()
messages.append(f"For {epochs} epochs with {lines} lines in batches of {batch_size}, iterating for {iterations} steps ({int(iterations / epochs)} steps per epoch)")

View File

@ -336,7 +336,7 @@ def setup_gradio():
with gr.Row():
with gr.Column():
result_voices = get_voice_list("./results/")
history_voices = gr.Dropdown(choices=result_voices, label="Voice", type="value", value=result_voices[0])
history_voices = gr.Dropdown(choices=result_voices, label="Voice", type="value", value=result_voices[0] if len(results_voices) > 0 else "")
with gr.Column():
history_results_list = gr.Dropdown(label="Results",type="value", interactive=True, value="")
with gr.Column():