Alfie Grace commited on
Commit
36379cf
·
1 Parent(s): ee81ee3

Added nesting of background CSS

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -567,8 +567,8 @@ def update_use_embeddings(widget, state):
567
  state = widget
568
  return state
569
 
570
-
571
- with gr.Blocks(theme='darkhuggingface', css=".gradio-container {background-color: #090c17}") as block: # #gr-component {background-color: #202937; border-color: #384253; color: #bcc0c6}") as block:
572
  llm_state = gr.State()
573
  history_state = gr.State()
574
  chain_state = gr.State()
 
567
  state = widget
568
  return state
569
 
570
+ custom_css = ".gradio-container {background-color: #090c17} #gr-component {background-color: #202937; background-color: #202937; border-color: #384253; color: #bcc0c6}"
571
+ with gr.Blocks(css=custom_css) as block:
572
  llm_state = gr.State()
573
  history_state = gr.State()
574
  chain_state = gr.State()