Spaces:
Paused
Paused
first commit
Browse files54 unmodified lines5556575859606123 unmodified lines858687888990216 unmodified lines30730830931031131231354 unmodified linesblock_border_width='2px',block_border_width_dark='2px',button_primary_background_fill_dark='*primary_500',button_primary_border_color_dark='*primary_500')css='''23 unmodified lines'''debug = Falsedef print_debug(t):if debug:216 unmodified lines"How fast can transistors switch?",]with gr.Blocks(theme=theme, css=css) as demo:# gr.Markdown(description)state = gr.State(default_conversation.copy())gr.HTML(value=html_title)54 unmodified lines555657585960616223 unmodified lines8687888990919293949596979899100101102103216 unmodified lines32032132232332432532654 unmodified linesblock_border_width='2px',block_border_width_dark='2px',button_primary_background_fill_dark='*primary_500',button_primary_border_color_dark='*primary_500',background-color: black,)css='''23 unmodified lines'''# force dark themejs_func = """function refresh() {const url = new URL(window.location);if (url.searchParams.get('__theme') !== 'dark') {url.searchParams.set('__theme', 'dark');window.location.href = url.href;}}"""debug = Falsedef print_debug(t):if debug:216 unmodified lines"How fast can transistors switch?",]with gr.Blocks(theme=theme, css=css, js=js_func) as demo:# gr.Markdown(description)state = gr.State(default_conversation.copy())gr.HTML(value=html_title)
app.py+15-2