Spaces:
Running
on
Zero
Running
on
Zero
update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
3 |
import torch
|
4 |
import torchaudio
|
5 |
-
import re # Import regex library
|
6 |
|
7 |
# Load model and processor
|
8 |
processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
|
|
|
2 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
3 |
import torch
|
4 |
import torchaudio
|
|
|
5 |
|
6 |
# Load model and processor
|
7 |
processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
|