Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiromiyaG committed Sep 7, 2024
1 parent a11e74e commit 4ed64e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rvc/train/process/model_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def model_information(path):
model_hash = model_data.get("model_hash", None)
overtrain_info = model_data.get("overtrain_info", "None")
model_author = model_data.get("author", "None")
embedder_model = model_data.get("embedder_model", "None")

pitch_guidance = "True" if f0 == 1 else "False"

Expand All @@ -45,4 +46,5 @@ def model_information(path):
f"Creation Date: {creation_date_str}\n"
f"Hash (ID): {model_hash}\n"
f"Overtrain Info: {overtrain_info}"
f"Embedder Model: {embedder_model}"
)
2 changes: 1 addition & 1 deletion tabs/extra/model_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def model_information_tab():
label=i18n("Output Information"),
info=i18n("The output information will be displayed here."),
value="",
max_lines=11,
max_lines=12,
interactive=False,
)
model_information_button = gr.Button(i18n("See Model Information"))
Expand Down

0 comments on commit 4ed64e4

Please sign in to comment.