Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import torch
|
|
2 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
3 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
4 |
import gradio as gr
|
|
|
5 |
#from transformers import WhisperForConditionalGeneration, WhisperProcessor
|
6 |
#from transformers.models.whisper.tokenization_whisper import LANGUAGES
|
7 |
#from transformers.pipelines.audio_utils import ffmpeg_read
|
|
|
2 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
3 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
4 |
import gradio as gr
|
5 |
+
from pytube import Youtube
|
6 |
#from transformers import WhisperForConditionalGeneration, WhisperProcessor
|
7 |
#from transformers.models.whisper.tokenization_whisper import LANGUAGES
|
8 |
#from transformers.pipelines.audio_utils import ffmpeg_read
|