Omnibus commited on
Commit
761b657
1 Parent(s): 8b79b12

Update player.py

Browse files
Files changed (1) hide show
  1. player.py +2 -2
player.py CHANGED
@@ -68,7 +68,7 @@ def load_vid(channel):
68
 
69
 
70
  def show_vid(vid_file,list_hid):
71
-
72
  #vid_slug=vid_file.split("videos/",1)[1].split(".",1)[0]
73
 
74
  label_html=f'''{label_html}
@@ -125,7 +125,7 @@ with gr.Blocks() as app:
125
  button = gr.Button()
126
  output = gr.HTML()
127
  label_output = gr.HTML()
128
- list_hid=gr.Textbox()
129
 
130
  app.load(find_dataset,None,channel)
131
  channel.change(load_vid,channel,[output,videos,list_hid])
 
68
 
69
 
70
  def show_vid(vid_file,list_hid):
71
+ label_html=""
72
  #vid_slug=vid_file.split("videos/",1)[1].split(".",1)[0]
73
 
74
  label_html=f'''{label_html}
 
125
  button = gr.Button()
126
  output = gr.HTML()
127
  label_output = gr.HTML()
128
+ list_hid=gr.Textbox(visible=False)
129
 
130
  app.load(find_dataset,None,channel)
131
  channel.change(load_vid,channel,[output,videos,list_hid])