adjoint-bass commited on
Commit
5b077dd
1 Parent(s): c5014d7

"changed app.py"

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
  import hopsworks
4
- from pytube import Youtube
5
 
6
  amp = hopsworks.login()
7
  data = amp.get_model_registry()
@@ -13,7 +13,7 @@ def live_performance(audio):
13
  return text
14
 
15
  def url_performance(link):
16
- selected_video = Youtube(str(link), only_audio = True)
17
 
18
 
19
  with gr.Blocks() as demo:
 
1
  from transformers import pipeline
2
  import gradio as gr
3
  import hopsworks
4
+ from pytube import YouTube
5
 
6
  amp = hopsworks.login()
7
  data = amp.get_model_registry()
 
13
  return text
14
 
15
  def url_performance(link):
16
+ selected_video = YouTube(str(link), only_audio = True)
17
 
18
 
19
  with gr.Blocks() as demo: