Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -7,14 +7,14 @@ import os
|
|
7 |
import torch
|
8 |
import librosa
|
9 |
|
10 |
-
pipe = transformers.pipeline(
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
)
|
15 |
-
whisper = transformers.pipeline(
|
16 |
-
|
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="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")
|