Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ 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",
|
11 |
|
12 |
def greet(name, intensity):
|
13 |
return "Hello, " + name + "!" * int(intensity)
|
|
|
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", hf_token=os.environ['api']).launch()
|
11 |
|
12 |
def greet(name, intensity):
|
13 |
return "Hello, " + name + "!" * int(intensity)
|