Update hatch setting and fmt
This commit is contained in:
@@ -236,7 +236,11 @@ def create_dataset_app() -> gr.Blocks:
|
||||
outputs=[result2],
|
||||
)
|
||||
use_hf_whisper.change(
|
||||
lambda x: (gr.update(visible=x), gr.update(visible=not x), gr.update(visible=not x)),
|
||||
lambda x: (
|
||||
gr.update(visible=x),
|
||||
gr.update(visible=not x),
|
||||
gr.update(visible=not x),
|
||||
),
|
||||
inputs=[use_hf_whisper],
|
||||
outputs=[batch_size, compute_type, device],
|
||||
)
|
||||
|
||||
@@ -6,12 +6,12 @@ import gradio as gr
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
import yaml
|
||||
from config import config
|
||||
from scipy.spatial.distance import pdist, squareform
|
||||
from sklearn.cluster import DBSCAN, AgglomerativeClustering, KMeans
|
||||
from sklearn.manifold import TSNE
|
||||
from umap import UMAP
|
||||
|
||||
from config import config
|
||||
from style_bert_vits2.constants import DEFAULT_STYLE, GRADIO_THEME
|
||||
from style_bert_vits2.logging import logger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user