ashimanair commited on
Commit
bd47041
·
verified ·
1 Parent(s): 1b28da2

changing colors to match templete

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -67,7 +67,7 @@ def respond(message, history):
67
  response = ""
68
  for messages in client.chat_completion(
69
  messages,
70
- max_tokens = 300,
71
  stream = True,
72
  ):
73
  token = messages.choices[0].delta.content
@@ -76,14 +76,14 @@ def respond(message, history):
76
 
77
  custom_css = """
78
  .gradio-container {
79
- background-color: #80bfff;
80
  }
81
  .message.bot {
82
- background-color: #ff8080;
83
  color: #1e3a8a;
84
  }
85
  .message.user {
86
- background-color: #e36899;
87
  color: #831843;
88
  }
89
  """
 
67
  response = ""
68
  for messages in client.chat_completion(
69
  messages,
70
+ max_tokens = 200,
71
  stream = True,
72
  ):
73
  token = messages.choices[0].delta.content
 
76
 
77
  custom_css = """
78
  .gradio-container {
79
+ background-color: ##d6d1e5;
80
  }
81
  .message.bot {
82
+ background-color: ##fea6b4;
83
  color: #1e3a8a;
84
  }
85
  .message.user {
86
+ background-color: ##ffd8d9;
87
  color: #831843;
88
  }
89
  """