kritsg commited on
Commit
f8b638c
·
1 Parent(s): 5ca869c

testing html embed

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -41,11 +41,10 @@ def segmentation_generation(image_name, c_width, n_top, n_gif_imgs):
41
  print("GRADIO INPUTS:", image_name, c_width, n_top, n_gif_imgs)
42
 
43
  html = '''
44
- <div style='max-width:100%; max-height:360px; overflow:auto'>
45
- <video width="320" height="240" autoplay>
46
- <source src="./diego_mp4.mp4" type=video/mp4>
47
- </video>
48
- </div>'''
49
  return html
50
 
51
  cred_width = c_width
 
41
  print("GRADIO INPUTS:", image_name, c_width, n_top, n_gif_imgs)
42
 
43
  html = '''
44
+ <video width="500px" height="500px" controls="controls"/>
45
+ <source src="./diego_mp4.mp4" type="video/mp4">
46
+ </video> >
47
+ '''
 
48
  return html
49
 
50
  cred_width = c_width