Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,19 @@ DESCRIPTION = f"""
|
|
50 |
<p>Running on Ollama backend.</p>
|
51 |
"""
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
def stream_chat(message: str, history: list, temperature: float, max_new_tokens: int, top_p: float, top_k: int, penalty: float):
|
54 |
|
55 |
conversation = []
|
|
|
50 |
<p>Running on Ollama backend.</p>
|
51 |
"""
|
52 |
|
53 |
+
|
54 |
+
CSS = """
|
55 |
+
.duplicate-button {
|
56 |
+
margin: auto !important;
|
57 |
+
color: white !important;
|
58 |
+
background: black !important;
|
59 |
+
border-radius: 100vh !important;
|
60 |
+
}
|
61 |
+
h3 {
|
62 |
+
text-align: center;
|
63 |
+
}
|
64 |
+
"""
|
65 |
+
|
66 |
def stream_chat(message: str, history: list, temperature: float, max_new_tokens: int, top_p: float, top_k: int, penalty: float):
|
67 |
|
68 |
conversation = []
|