Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ subprocess.run(["pip", "install", "datasets"])
|
|
6 |
subprocess.run(["pip", "install", "transformers"])
|
7 |
subprocess.run(["pip", "install", "torch", "torchvision", "torchaudio", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
|
8 |
import gradio as gr
|
|
|
9 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
10 |
|
11 |
# Load model and processor
|
|
|
6 |
subprocess.run(["pip", "install", "transformers"])
|
7 |
subprocess.run(["pip", "install", "torch", "torchvision", "torchaudio", "-f", "https://download.pytorch.org/whl/torch_stable.html"])
|
8 |
import gradio as gr
|
9 |
+
import numpy as np
|
10 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
11 |
|
12 |
# Load model and processor
|