rossiter78 commited on
Commit
13cc9d4
·
verified ·
1 Parent(s): 46c35dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -69,8 +69,11 @@ chat = gr.ChatInterface(
69
  undo_btn=None,
70
  )
71
 
72
- # Wrap in Blocks to add custom CSS
73
- with gr.Blocks(css=".footer {display: none !important;}") as demo:
 
 
 
74
  chat.render()
75
 
76
  if __name__ == "__main__":
 
69
  undo_btn=None,
70
  )
71
 
72
+ # Wrap in Blocks to add custom CSS and preserve theme
73
+ with gr.Blocks(
74
+ theme=gr.themes.Soft(),
75
+ css=".footer {display: none !important;} .gradio-container-4-42-0 .footer {display: none !important;}"
76
+ ) as demo:
77
  chat.render()
78
 
79
  if __name__ == "__main__":