Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
from pydub import AudioSegment
|
4 |
from pyannote.audio.pipelines import SpeakerDiarization
|
5 |
-
|
6 |
-
import spaces
|
7 |
|
8 |
# εε§ε pyannote/speaker-diarization 樑ε
|
9 |
HF_TOKEN = os.environ.get("HUGGINGFACE_READ_TOKEN")
|
|
|
1 |
+
import torch
|
2 |
+
import spaces
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
from pydub import AudioSegment
|
6 |
from pyannote.audio.pipelines import SpeakerDiarization
|
7 |
+
|
|
|
8 |
|
9 |
# εε§ε pyannote/speaker-diarization 樑ε
|
10 |
HF_TOKEN = os.environ.get("HUGGINGFACE_READ_TOKEN")
|