fedahumada commited on
Commit
a1c1172
1 Parent(s): c12aa65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -49,7 +49,7 @@ def populate_metadata(link):
49
  thumbnail = yt.thumbnail_url
50
  length = yt.length
51
  views = yt.views
52
- return author, title, description, thumbnail, length, views
53
 
54
  # Uncomment if you want to fetch the thumbnails as well.
55
  #def fetch_thumbnail(thumbnail):
@@ -60,12 +60,12 @@ def populate_metadata(link):
60
 
61
 
62
  def convert(seconds):
63
- return time.strftime("%H:%M:%S", time.gmtime(seconds))
64
 
65
 
66
- loaded_model = whisper.load_model("base")
67
- current_size = "None"
68
- size = st.selectbox("Model Size", ["tiny", "base", "small", "medium", "large"], index=1)
69
 
70
 
71
  def change_model(current_size, size):
49
  thumbnail = yt.thumbnail_url
50
  length = yt.length
51
  views = yt.views
52
+ #return author, title, description, thumbnail, length, views
53
 
54
  # Uncomment if you want to fetch the thumbnails as well.
55
  #def fetch_thumbnail(thumbnail):
60
 
61
 
62
  def convert(seconds):
63
+ #return time.strftime("%H:%M:%S", time.gmtime(seconds))
64
 
65
 
66
+ loaded_model = whisper.load_model("small")
67
+ #current_size = "None"
68
+ #size = st.selectbox("Model Size", ["tiny", "base", "small", "medium", "large"], index=1)
69
 
70
 
71
  def change_model(current_size, size):