mirror of
https://github.com/liuhaozhe6788/voice-cloning-collab.git
synced 2026-05-18 05:04:51 +02:00
progress for generating UMAP
This commit is contained in:
@@ -208,8 +208,11 @@ class Toolbox:
|
||||
self.ui.register_utterance(utterance)
|
||||
|
||||
# Plot it
|
||||
self.ui.log("Generating UMAP...")
|
||||
self.ui.set_loading(1)
|
||||
self.ui.draw_embed(embed, name, "current")
|
||||
self.ui.draw_umap_projections(self.utterances)
|
||||
self.ui.set_loading(0)
|
||||
|
||||
def clear_utterances(self):
|
||||
self.utterances.clear()
|
||||
@@ -353,8 +356,11 @@ class Toolbox:
|
||||
self.utterances.add(utterance)
|
||||
|
||||
# Plot it
|
||||
self.ui.log("Generating UMAP...")
|
||||
self.ui.set_loading(1)
|
||||
self.ui.draw_embed(embed, name, "generated")
|
||||
self.ui.draw_umap_projections(self.utterances)
|
||||
self.ui.set_loading(0)
|
||||
|
||||
def init_encoder(self):
|
||||
model_fpath = self.ui.current_encoder_fpath
|
||||
|
||||
Reference in New Issue
Block a user