Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,25 @@ CSS = """
|
|
35 |
h3 {
|
36 |
text-align: center;
|
37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
"""
|
39 |
-
|
40 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|
41 |
|
42 |
quantization_config = BitsAndBytesConfig(
|
|
|
35 |
h3 {
|
36 |
text-align: center;
|
37 |
}
|
38 |
+
.message-wrap {
|
39 |
+
overflow-x: auto;
|
40 |
+
}
|
41 |
+
.message-wrap p {
|
42 |
+
margin-bottom: 1em;
|
43 |
+
}
|
44 |
+
.message-wrap pre {
|
45 |
+
background-color: #f6f8fa;
|
46 |
+
border-radius: 3px;
|
47 |
+
padding: 16px;
|
48 |
+
overflow-x: auto;
|
49 |
+
}
|
50 |
+
.message-wrap code {
|
51 |
+
background-color: rgba(175,184,193,0.2);
|
52 |
+
border-radius: 3px;
|
53 |
+
padding: 0.2em 0.4em;
|
54 |
+
font-family: monospace;
|
55 |
+
}
|
56 |
"""
|
|
|
57 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|
58 |
|
59 |
quantization_config = BitsAndBytesConfig(
|