Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -28,32 +28,6 @@ SYSTEM_PROMPT = os.getenv('SYSTEM_PROMPT')
|
|
28 |
|
29 |
print(SYSTEM_PROMPT)
|
30 |
|
31 |
-
CSS = """
|
32 |
-
.duplicate-button {
|
33 |
-
margin: auto !important;
|
34 |
-
color: white !important;
|
35 |
-
background: black !important;
|
36 |
-
border-radius: 100vh !important;
|
37 |
-
}
|
38 |
-
h3 {
|
39 |
-
text-align: center;
|
40 |
-
/* Fix for chat container */
|
41 |
-
.chat-container {
|
42 |
-
height: 600px !important;
|
43 |
-
overflow-y: auto !important;
|
44 |
-
flex-direction: column !important;
|
45 |
-
}
|
46 |
-
.messages-container {
|
47 |
-
flex-grow: 1 !important;
|
48 |
-
overflow-y: auto !important;
|
49 |
-
padding-right: 10px !important;
|
50 |
-
}
|
51 |
-
/* Ensure consistent height */
|
52 |
-
.contain {
|
53 |
-
height: 100% !important;
|
54 |
-
}
|
55 |
-
"""
|
56 |
-
|
57 |
END_MESSAGE = """
|
58 |
\n
|
59 |
**The conversation has reached to its end, please press "Clear" to restart a new conversation**
|
|
|
28 |
|
29 |
print(SYSTEM_PROMPT)
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
END_MESSAGE = """
|
32 |
\n
|
33 |
**The conversation has reached to its end, please press "Clear" to restart a new conversation**
|