Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ This project was made possible through the work of several other projects:
|
|
| 12 |
- [insanely-fast-whisper](https://github.com/Vaibhavs10/insanely-fast-whisper)
|
| 13 |
"""
|
| 14 |
|
|
|
|
| 15 |
import subprocess
|
| 16 |
subprocess.run(
|
| 17 |
"pip install flash-attn --no-build-isolation",
|
|
@@ -21,7 +22,6 @@ subprocess.run(
|
|
| 21 |
import gradio as gr
|
| 22 |
from transformers import pipeline
|
| 23 |
import torch
|
| 24 |
-
import spaces
|
| 25 |
|
| 26 |
pipe = pipeline(
|
| 27 |
"automatic-speech-recognition",
|
|
|
|
| 12 |
- [insanely-fast-whisper](https://github.com/Vaibhavs10/insanely-fast-whisper)
|
| 13 |
"""
|
| 14 |
|
| 15 |
+
import spaces
|
| 16 |
import subprocess
|
| 17 |
subprocess.run(
|
| 18 |
"pip install flash-attn --no-build-isolation",
|
|
|
|
| 22 |
import gradio as gr
|
| 23 |
from transformers import pipeline
|
| 24 |
import torch
|
|
|
|
| 25 |
|
| 26 |
pipe = pipeline(
|
| 27 |
"automatic-speech-recognition",
|