venkat charan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import torch
|
2 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
3 |
|
4 |
-
|
5 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
7 |
|
|
|
1 |
import torch
|
2 |
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
3 |
|
|
|
4 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
5 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
6 |
|