ysharma HF staff commited on
Commit
d5170df
1 Parent(s): 81b2f93
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ def display_vid(video):
9
  return html
10
 
11
  def fun(url):
12
- return url
13
 
14
 
15
 
@@ -24,7 +24,7 @@ with demo:
24
  with gr.Row():
25
  input_url = gr.Textbox() #gr.HTML(placeholder="Enter a video link here..")
26
  #input_vid = gr.Video()
27
- output_vid = gr.Video("Text")
28
 
29
  b1 = gr.Button("Publish Video")
30
  #b2 = gr.Button("Generate Image")
 
9
  return html
10
 
11
  def fun(url):
12
+ return gr.Video(value=url)
13
 
14
 
15
 
 
24
  with gr.Row():
25
  input_url = gr.Textbox() #gr.HTML(placeholder="Enter a video link here..")
26
  #input_vid = gr.Video()
27
+ output_vid = gr.Video()
28
 
29
  b1 = gr.Button("Publish Video")
30
  #b2 = gr.Button("Generate Image")