Spaces:
Runtime error
Runtime error
Manbearpig01
commited on
Commit
•
612b04b
1
Parent(s):
b7d40e6
Update app.py
Browse files
app.py
CHANGED
@@ -6,19 +6,13 @@ Automatically generated by Colaboratory.
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/1SLY6vFgJGYJxXCiJWtRo3Qxag5r_Y4K7
|
8 |
"""
|
9 |
-
|
10 |
-
!pip install transformers
|
11 |
-
!pip install pytube
|
12 |
-
|
13 |
-
!pip install gradio
|
14 |
-
|
15 |
import os
|
16 |
import gradio as gr
|
17 |
from transformers import pipeline
|
18 |
from pytube import YouTube
|
19 |
|
20 |
|
21 |
-
|
22 |
|
23 |
|
24 |
def yt(link):
|
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/1SLY6vFgJGYJxXCiJWtRo3Qxag5r_Y4K7
|
8 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
import os
|
10 |
import gradio as gr
|
11 |
from transformers import pipeline
|
12 |
from pytube import YouTube
|
13 |
|
14 |
|
15 |
+
pipe = pipeline(model="Manbearpig01/whisper-small-hi") # change to "your-username/the-name-you-picked" 加
|
16 |
|
17 |
|
18 |
def yt(link):
|