Spaces:
Runtime error
Runtime error
changing colors to match templete
Browse files
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 =
|
| 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:
|
| 80 |
}
|
| 81 |
.message.bot {
|
| 82 |
-
background-color:
|
| 83 |
color: #1e3a8a;
|
| 84 |
}
|
| 85 |
.message.user {
|
| 86 |
-
background-color:
|
| 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 |
"""
|