Update app.py
Browse files
app.py
CHANGED
|
@@ -3,11 +3,12 @@ import tempfile
|
|
| 3 |
import wave
|
| 4 |
import gradio as gr
|
| 5 |
import os
|
| 6 |
-
|
| 7 |
import torch
|
| 8 |
import soundfile as sf
|
| 9 |
import numpy as np
|
| 10 |
import torch.nn.functional as F
|
|
|
|
| 11 |
from whisperspeech.languages import LANGUAGES
|
| 12 |
from whisperspeech.pipeline import Pipeline
|
| 13 |
from whisperspeech.utils import resampler
|
|
|
|
| 3 |
import wave
|
| 4 |
import gradio as gr
|
| 5 |
import os
|
| 6 |
+
import re
|
| 7 |
import torch
|
| 8 |
import soundfile as sf
|
| 9 |
import numpy as np
|
| 10 |
import torch.nn.functional as F
|
| 11 |
+
from whisperspeech.pipeline import Pipeline
|
| 12 |
from whisperspeech.languages import LANGUAGES
|
| 13 |
from whisperspeech.pipeline import Pipeline
|
| 14 |
from whisperspeech.utils import resampler
|