Spaces:
Runtime error
Runtime error
Commit
·
5dd9606
1
Parent(s):
cbb50b7
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,6 @@ import random
|
|
6 |
from transformers import pipeline
|
7 |
import torch
|
8 |
|
9 |
-
session_token = os.environ.get('SessionToken')
|
10 |
-
api = ChatGPT(session_token)
|
11 |
-
|
12 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
13 |
|
14 |
whisper_model = pipeline(
|
|
|
6 |
from transformers import pipeline
|
7 |
import torch
|
8 |
|
|
|
|
|
|
|
9 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
10 |
|
11 |
whisper_model = pipeline(
|