Gilberto Medrano
commited on
Commit
·
75780cf
1
Parent(s):
03f3a3f
Modified template objects to be more React focused
Browse files- app.py +1 -3
- public/stylesheet.css +12 -0
app.py
CHANGED
@@ -28,9 +28,7 @@ Deliver advice and solutions in a clear, practical, and easily implementable man
|
|
28 |
|
29 |
user_template = """
|
30 |
Considering the following context: {input}, provide a comprehensive and accurate response, breaking down the information into actionable steps where applicable.
|
31 |
-
"""
|
32 |
|
33 |
-
response_template = """
|
34 |
When providing an answer, follow this structure:
|
35 |
|
36 |
### Summary
|
@@ -49,7 +47,7 @@ Ensure that each component of your answer has the corresponding headers as shown
|
|
49 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
50 |
async def start_chat():
|
51 |
settings = {
|
52 |
-
"model": "gpt-
|
53 |
"temperature": 0,
|
54 |
"max_tokens": 500,
|
55 |
"top_p": 1,
|
|
|
28 |
|
29 |
user_template = """
|
30 |
Considering the following context: {input}, provide a comprehensive and accurate response, breaking down the information into actionable steps where applicable.
|
|
|
31 |
|
|
|
32 |
When providing an answer, follow this structure:
|
33 |
|
34 |
### Summary
|
|
|
47 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
48 |
async def start_chat():
|
49 |
settings = {
|
50 |
+
"model": "gpt-4o",
|
51 |
"temperature": 0,
|
52 |
"max_tokens": 500,
|
53 |
"top_p": 1,
|
public/stylesheet.css
CHANGED
@@ -110,6 +110,18 @@ body {
|
|
110 |
filter: brightness(0) invert(1) !important;
|
111 |
}
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
/* Media query for mobile devices */
|
114 |
@media only screen and (max-width: 768px) {
|
115 |
.css-sdz2z h1, .markdown-body h1 {
|
|
|
110 |
filter: brightness(0) invert(1) !important;
|
111 |
}
|
112 |
|
113 |
+
.css-5kjw2l {
|
114 |
+
background-color: color(srgb 0.0977 0.1 0.086) !important;
|
115 |
+
}
|
116 |
+
|
117 |
+
code {
|
118 |
+
color: black;
|
119 |
+
}
|
120 |
+
|
121 |
+
li {
|
122 |
+
margin: 10px;
|
123 |
+
}
|
124 |
+
|
125 |
/* Media query for mobile devices */
|
126 |
@media only screen and (max-width: 768px) {
|
127 |
.css-sdz2z h1, .markdown-body h1 {
|