SamiKoen commited on
Commit
28f29c5
·
verified ·
1 Parent(s): e4a0d43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -130,15 +130,8 @@ def set_visible_true():
130
 
131
  theme_addon_msg = ""
132
  system_msg_info = ""
133
- theme = gr.themes.base()
134
-
135
- with gr.Blocks(css="""
136
- #col_container { margin-left: auto; margin-right: auto; background-color: #f0f0f0; }
137
- #chatbot { height: 450px; overflow: auto; background-color: #ffffff; }
138
- #chatbot .chat-message { border-bottom: 1px solid #e0e0e0; padding: 10px; }
139
- #chatbot .chat-message.user { background-color: #e0ffe0; }
140
- #chatbot .chat-message.assistant { background-color: #e0e0ff; }
141
- """, theme=theme) as demo:
142
  with gr.Column(elem_id="col_container"):
143
  with gr.Accordion("", open=False, visible=False):
144
  system_msg = gr.Textbox(value="")
 
130
 
131
  theme_addon_msg = ""
132
  system_msg_info = ""
133
+ theme = gr.themes.Base()
134
+ with gr.Blocks(theme=theme) as demo:
 
 
 
 
 
 
 
135
  with gr.Column(elem_id="col_container"):
136
  with gr.Accordion("", open=False, visible=False):
137
  system_msg = gr.Textbox(value="")