Ben Prystawski commited on
Commit
97821d3
1 Parent(s): 77bc1e4

set share to true

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -66,7 +66,6 @@ def cluster_embeddings(segments, duration, path, num_speakers):
66
 
67
  embeddings = np.nan_to_num(embeddings)
68
 
69
- print(f"num speakers: {num_speakers}")
70
  clustering = AgglomerativeClustering(num_speakers).fit(embeddings)
71
  labels = clustering.labels_
72
  for i in range(len(segments)):
@@ -111,4 +110,4 @@ if __name__ == "__main__":
111
  description="Upload an audio file and choose a model size and number of speakers on the left, then click submit to transcribe!",
112
  theme=gr.themes.Soft(),
113
  )
114
- interface.launch()
 
66
 
67
  embeddings = np.nan_to_num(embeddings)
68
 
 
69
  clustering = AgglomerativeClustering(num_speakers).fit(embeddings)
70
  labels = clustering.labels_
71
  for i in range(len(segments)):
 
110
  description="Upload an audio file and choose a model size and number of speakers on the left, then click submit to transcribe!",
111
  theme=gr.themes.Soft(),
112
  )
113
+ interface.launch(share=True)