Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from pytube import YouTube
|
3 |
import whisper
|
4 |
|
5 |
-
|
6 |
def whisper_transcript(model_size,audio_file):
|
7 |
if url:
|
8 |
link = YouTube(url)
|
|
|
2 |
from pytube import YouTube
|
3 |
import whisper
|
4 |
|
5 |
+
//define function for transcription
|
6 |
def whisper_transcript(model_size,audio_file):
|
7 |
if url:
|
8 |
link = YouTube(url)
|