RomZay commited on
Commit
cbbea76
·
verified ·
1 Parent(s): 3f21c45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,7 +103,7 @@ def respond(message, api_key, max_tokens, top_p, temperature):
103
 
104
  def render_message(history):
105
  messages_html = """
106
- <div id="chatbox-container" style="height: 400px; overflow-y: auto; border: 1px solid #262626; padding: 10px; background-color: #333333;">
107
  <div id="messages">"""
108
 
109
  for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history:
@@ -131,7 +131,7 @@ def render_message(history):
131
  return messages_html
132
 
133
 
134
- with gr.Blocks(css=".chatbox {height: 400px; overflow-y: auto; border: 1px solid #262626; padding: 10px; background-color: #333333;}") as demo:
135
 
136
  with gr.Column(visible=True) as auth_view:
137
  gr.Markdown("## P-MSQ Authorization")
 
103
 
104
  def render_message(history):
105
  messages_html = """
106
+ <div id="chatbox-container" style="height: 400px; overflow-y: auto; border: 1px solid #262626; padding: 10px; background-color: #171717;">
107
  <div id="messages">"""
108
 
109
  for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history:
 
131
  return messages_html
132
 
133
 
134
+ with gr.Blocks(css=".chatbox {height: 400px; overflow-y: auto; border: 1px solid #262626; padding: 10px; background-color: #171717;}") as demo:
135
 
136
  with gr.Column(visible=True) as auth_view:
137
  gr.Markdown("## P-MSQ Authorization")