ldhldh commited on
Commit
ad6d6b2
·
verified ·
1 Parent(s): 366a9c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -76,8 +76,6 @@ pipeline = Pipeline.from_pretrained("pyannote/[email protected]",
76
  use_auth_token=huggingface_token).to(device)
77
  output_directory = '/MP3_Split'
78
 
79
- os.makedirs(output_directory, exist_ok=True)
80
-
81
  def split_by_speaker(file_path, output_dir):
82
  # Load the MP3 file
83
  audio = AudioSegment.from_mp3(file_path)
 
76
  use_auth_token=huggingface_token).to(device)
77
  output_directory = '/MP3_Split'
78
 
 
 
79
  def split_by_speaker(file_path, output_dir):
80
  # Load the MP3 file
81
  audio = AudioSegment.from_mp3(file_path)