Spaces:
Running
Running
removing sounddevice for gradio
Browse files- app.py +0 -7
- requirements.txt +0 -3
app.py
CHANGED
@@ -1,16 +1,9 @@
|
|
1 |
-
import sounddevice as sd
|
2 |
-
import soundfile as sf
|
3 |
import torch
|
4 |
-
import numpy as np
|
5 |
import torchaudio
|
6 |
-
import time
|
7 |
import gradio as gr
|
8 |
-
from concurrent.futures import ThreadPoolExecutor
|
9 |
from transformers import AutoProcessor, AutoModel
|
10 |
-
from queue import Queue, Empty
|
11 |
import warnings
|
12 |
import traceback
|
13 |
-
import whisper
|
14 |
import gc
|
15 |
|
16 |
warnings.filterwarnings("ignore")
|
|
|
|
|
|
|
1 |
import torch
|
|
|
2 |
import torchaudio
|
|
|
3 |
import gradio as gr
|
|
|
4 |
from transformers import AutoProcessor, AutoModel
|
|
|
5 |
import warnings
|
6 |
import traceback
|
|
|
7 |
import gc
|
8 |
|
9 |
warnings.filterwarnings("ignore")
|
requirements.txt
CHANGED
@@ -53,8 +53,6 @@ setuptools==75.6.0
|
|
53 |
shellingham==1.5.4
|
54 |
six==1.16.0
|
55 |
sniffio==1.3.1
|
56 |
-
sounddevice==0.5.1
|
57 |
-
soundfile==0.12.1
|
58 |
starlette==0.41.3
|
59 |
sympy==1.13.1
|
60 |
tiktoken==0.8.0
|
@@ -70,4 +68,3 @@ tzdata==2024.2
|
|
70 |
urllib3==2.2.3
|
71 |
uvicorn==0.32.1
|
72 |
websockets==12.0
|
73 |
-
whisper==1.1.10
|
|
|
53 |
shellingham==1.5.4
|
54 |
six==1.16.0
|
55 |
sniffio==1.3.1
|
|
|
|
|
56 |
starlette==0.41.3
|
57 |
sympy==1.13.1
|
58 |
tiktoken==0.8.0
|
|
|
68 |
urllib3==2.2.3
|
69 |
uvicorn==0.32.1
|
70 |
websockets==12.0
|
|