Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
import torch
|
2 |
|
3 |
import gradio as gr
|
4 |
import pytube as pt
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
-
MODEL_NAME = "whisper-sm-el-farsipal-e4" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
lang = "el"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
|
|
1 |
+
import torch
|
2 |
|
3 |
import gradio as gr
|
4 |
import pytube as pt
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
+
MODEL_NAME = "whisper-sm-el-farsipal-e4" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
lang = "el"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|