Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
|
| 4 |
os.system('pip install pyannote.audio')
|
| 5 |
|
| 6 |
-
gr.load("models/pyannote/speaker-diarization-3.1",
|
| 7 |
|
| 8 |
def greet(name, intensity):
|
| 9 |
return "Hello, " + name + "!" * int(intensity)
|
|
|
|
| 3 |
|
| 4 |
os.system('pip install pyannote.audio')
|
| 5 |
|
| 6 |
+
gr.load("models/pyannote/speaker-diarization-3.1", use_auth_token=os.environ['api']).launch()
|
| 7 |
|
| 8 |
def greet(name, intensity):
|
| 9 |
return "Hello, " + name + "!" * int(intensity)
|