bidit commited on
Commit
5132433
·
1 Parent(s): e504141

Test Gradio

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -48,9 +48,9 @@ def caption_youtube(url):
48
  def user_greeting(name):
49
  return "Hi! " + name + " Welcome to your first Gradio application!😎"
50
 
51
- video_url = 'https://www.youtube.com/watch?v=orbkg5JH9C8'
52
- subprocess.call(['youtube-dl', '-f', 'best', '-o', 'video.mp4', video_url]
53
- iface = gra.Interface(fn=user_greeting, inputs='text', outputs="text")
54
- iface.launch()
55
 
56
 
 
48
  def user_greeting(name):
49
  return "Hi! " + name + " Welcome to your first Gradio application!😎"
50
 
51
+ # video_url = 'https://www.youtube.com/watch?v=orbkg5JH9C8'
52
+ # subprocess.call(['youtube-dl', '-f', 'best', '-o', 'video.mp4', video_url]
53
+ app = gra.Interface(fn=user_greeting, inputs='text', outputs="text")
54
+ app.launch()
55
 
56