Spaces:
Build error
Build error
unknown
commited on
Commit
·
8ee0b64
1
Parent(s):
2d533cf
add comment
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ genaikey=os.environ['genaikey']
|
|
| 9 |
#MODEL_NAME = "seiching/whisper-small-seiching"
|
| 10 |
MODEL_NAME = "openai/whisper-tiny"
|
| 11 |
BATCH_SIZE = 8
|
| 12 |
-
|
| 13 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 14 |
|
| 15 |
pipe = pipeline(
|
|
|
|
| 9 |
#MODEL_NAME = "seiching/whisper-small-seiching"
|
| 10 |
MODEL_NAME = "openai/whisper-tiny"
|
| 11 |
BATCH_SIZE = 8
|
| 12 |
+
#
|
| 13 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 14 |
|
| 15 |
pipe = pipeline(
|