Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
from pyannote.audio import Pipeline
|
5 |
from pydub import AudioSegment
|
6 |
from spaces import GPU
|
|
|
7 |
|
8 |
# 获取 Hugging Face 认证令牌
|
9 |
HF_TOKEN = os.environ.get("HUGGINGFACE_READ_TOKEN")
|
|
|
4 |
from pyannote.audio import Pipeline
|
5 |
from pydub import AudioSegment
|
6 |
from spaces import GPU
|
7 |
+
from io import BytesIO
|
8 |
|
9 |
# 获取 Hugging Face 认证令牌
|
10 |
HF_TOKEN = os.environ.get("HUGGINGFACE_READ_TOKEN")
|