QLWD commited on
Commit
874baed
1 Parent(s): baf7f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")