Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ZennyKenny
commited on
add spaces
Browse files
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
-
import librosa
|
|
|
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."""
|