reach-vb HF staff commited on
Commit
3204c26
·
verified ·
1 Parent(s): 36f03ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -7,14 +7,14 @@ import os
7
  import torch
8
  import librosa
9
 
10
- # pipe = transformers.pipeline(
11
- # model="fixie-ai/ultravox-v0_4_1-llama-3_1-8b",
12
- # trust_remote_code=True,
13
- # device=torch.device("cuda"),
14
- # )
15
- # whisper = transformers.pipeline(
16
- # model="openai/whisper-large-v3-turbo", device=torch.device("cuda")
17
- # )
18
 
19
  account_sid = os.environ.get("TWILIO_ACCOUNT_SID")
20
  auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
 
7
  import torch
8
  import librosa
9
 
10
+ pipe = transformers.pipeline(
11
+ model="reach-vb/smollm2-whisper-turbo-uvx-14000",
12
+ trust_remote_code=True,
13
+ device=torch.device("cuda"),
14
+ )
15
+ whisper = transformers.pipeline(
16
+ model="openai/whisper-large-v3-turbo", device=torch.device("cuda")
17
+ )
18
 
19
  account_sid = os.environ.get("TWILIO_ACCOUNT_SID")
20
  auth_token = os.environ.get("TWILIO_AUTH_TOKEN")