Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
5 |
|
6 |
gr.load("models/pyannote/speaker-diarization-3.1", use_auth_token=os.environ['api']).launch()
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
import torch
|
4 |
+
import io
|
5 |
+
from pyannote.audio import Pipeline
|
6 |
+
from pyannote.audio import Audio
|
7 |
+
from pyannote.audio.pipelines.utils.hook import TimingHook
|
8 |
+
from pyannote.core import Segment
|
9 |
|
10 |
gr.load("models/pyannote/speaker-diarization-3.1", use_auth_token=os.environ['api']).launch()
|
11 |
|