ZennyKenny commited on
Commit
d07525d
·
verified ·
1 Parent(s): 8057378

add spaces

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
2
  import torch
3
  from transformers import pipeline
4
- import librosa # For audio processing
 
5
 
6
  def split_audio(audio_path, chunk_duration=30):
7
  """Split audio into chunks of chunk_duration seconds."""
 
1
  import gradio as gr
2
  import torch
3
  from transformers import pipeline
4
+ import librosa
5
+ import spaces
6
 
7
  def split_audio(audio_path, chunk_duration=30):
8
  """Split audio into chunks of chunk_duration seconds."""