Tile commited on
Commit
0eb2af9
1 Parent(s): 74afc84

first commit

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -319,10 +319,11 @@ dropdown_list = [
319
  "How fast can transistors switch?",
320
  ]
321
 
322
- with gr.Blocks(theme=theme, css=css, js=js_func) as demo:
323
  # gr.Markdown(description)
324
  state = gr.State(default_conversation.copy())
325
  gr.HTML(value=html_title)
 
326
  with gr.Row():
327
  with gr.Column(scale=4):
328
  video = gr.Video(height=512, width=512, elem_id="video" )
 
319
  "How fast can transistors switch?",
320
  ]
321
 
322
+ with gr.Blocks(theme=theme, css=css) as demo:
323
  # gr.Markdown(description)
324
  state = gr.State(default_conversation.copy())
325
  gr.HTML(value=html_title)
326
+ demo.load(_js=js_func)
327
  with gr.Row():
328
  with gr.Column(scale=4):
329
  video = gr.Video(height=512, width=512, elem_id="video" )