Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from pytube import YouTube
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
with open('styles.css', 'r') as f:
|
| 9 |
-
css = f.read()
|
| 10 |
|
| 11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 12 |
pipe = pipeline("automatic-speech-recognition", model="meisin123/whisper-small-iban", chunk_length_s=30, device=device)
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
with open('styles.css', 'r') as f:
|
| 9 |
+
css = f.read()
|
| 10 |
|
| 11 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 12 |
pipe = pipeline("automatic-speech-recognition", model="meisin123/whisper-small-iban", chunk_length_s=30, device=device)
|