Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ if os.path.exists(file_name):
|
|
16 |
os.remove(file_name)
|
17 |
|
18 |
transcriber = WhisperModel(repo.local_dir,device="cuda", compute_type="float16")
|
|
|
19 |
|
20 |
def transcribe(stream, new_chunk):
|
21 |
sr, y = new_chunk
|
|
|
16 |
os.remove(file_name)
|
17 |
|
18 |
transcriber = WhisperModel(repo.local_dir,device="cuda", compute_type="float16")
|
19 |
+
model = transcriber
|
20 |
|
21 |
def transcribe(stream, new_chunk):
|
22 |
sr, y = new_chunk
|