Spaces:
Running
Running
first commit
Browse files
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
|
| 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" )
|