Spaces:
Running
Running
Commit
·
0962e25
1
Parent(s):
218573f
Rm soundfile
Browse files- app.py +0 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -14,7 +14,6 @@ from fastapi.staticfiles import StaticFiles
|
|
14 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
15 |
import torch
|
16 |
import torchaudio
|
17 |
-
import soundfile as sf
|
18 |
from google import genai
|
19 |
from google.genai import types
|
20 |
|
|
|
14 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
15 |
import torch
|
16 |
import torchaudio
|
|
|
17 |
from google import genai
|
18 |
from google.genai import types
|
19 |
|
requirements.txt
CHANGED
@@ -5,7 +5,6 @@ aiofiles # Static file serving
|
|
5 |
python-multipart # File uploads
|
6 |
|
7 |
# Voice‑to‑text (Whisper via 🤗 Transformers)
|
8 |
-
soundfile
|
9 |
transformers==4.38.2 # ensure recent enough
|
10 |
torch
|
11 |
torchaudio>=2.1.0
|
|
|
5 |
python-multipart # File uploads
|
6 |
|
7 |
# Voice‑to‑text (Whisper via 🤗 Transformers)
|
|
|
8 |
transformers==4.38.2 # ensure recent enough
|
9 |
torch
|
10 |
torchaudio>=2.1.0
|