Spaces:
Running
Running
gpt-omni
commited on
Commit
·
ceeefb4
1
Parent(s):
7ba9b1d
update
Browse files
app.py
CHANGED
|
@@ -93,7 +93,6 @@ model = model.to(device)
|
|
| 93 |
model.eval()
|
| 94 |
|
| 95 |
|
| 96 |
-
@spaces.GPU
|
| 97 |
def get_input_ids_whisper_ATBatch(mel, leng, whispermodel, device):
|
| 98 |
# with torch.no_grad():
|
| 99 |
mel = mel.unsqueeze(0).to(device)
|
|
|
|
| 93 |
model.eval()
|
| 94 |
|
| 95 |
|
|
|
|
| 96 |
def get_input_ids_whisper_ATBatch(mel, leng, whispermodel, device):
|
| 97 |
# with torch.no_grad():
|
| 98 |
mel = mel.unsqueeze(0).to(device)
|