Spaces:
Sleeping
Sleeping
Update player.py
Browse files
player.py
CHANGED
@@ -238,10 +238,12 @@ with gr.Blocks() as app:
|
|
238 |
button = gr.Button()
|
239 |
output = gr.HTML()
|
240 |
label_output = gr.HTML()
|
|
|
|
|
241 |
list_hid=gr.JSON(visible=False)
|
242 |
|
243 |
app.load(find_dataset,None,channel)
|
244 |
channel.change(load_vid,channel,[output,videos,list_hid])
|
245 |
videos.change(show_vid,[videos,list_hid],[label_output])
|
246 |
-
button.click(build_space,[videos,list_hid],
|
247 |
app.launch(show_api=False,share=False)
|
|
|
238 |
button = gr.Button()
|
239 |
output = gr.HTML()
|
240 |
label_output = gr.HTML()
|
241 |
+
links_output = gr.HTML()
|
242 |
+
|
243 |
list_hid=gr.JSON(visible=False)
|
244 |
|
245 |
app.load(find_dataset,None,channel)
|
246 |
channel.change(load_vid,channel,[output,videos,list_hid])
|
247 |
videos.change(show_vid,[videos,list_hid],[label_output])
|
248 |
+
button.click(build_space,[videos,list_hid],links_output)
|
249 |
app.launch(show_api=False,share=False)
|