Spaces:
Sleeping
Sleeping
Update app
Browse files
app.py
CHANGED
@@ -32,16 +32,6 @@ def add_chunk_to_ai_message(chunk: str):
|
|
32 |
},
|
33 |
]
|
34 |
|
35 |
-
css = """
|
36 |
-
chat-box {
|
37 |
-
background-color: blue!important;
|
38 |
-
}
|
39 |
-
|
40 |
-
.v-application--wrap > div:nth-child(2) > div:nth-child(2){
|
41 |
-
display: none !important;
|
42 |
-
background-color: #00ff00!important;
|
43 |
-
}
|
44 |
-
"""
|
45 |
@solara.component
|
46 |
def GithubAvatar(name: str, handle: str, img: str):
|
47 |
with solara.v.Html(tag="a", attributes={"href": f"https://github.com/{handle}/", "target": "_blank"}):
|
@@ -263,7 +253,6 @@ def Page():
|
|
263 |
solara.lab.theme.themes.light.secondary = "#0000ff"
|
264 |
solara.lab.theme.themes.dark.primary = "#ff0000"
|
265 |
solara.lab.theme.themes.dark.secondary = "#0000ff"
|
266 |
-
solara.Style(css)
|
267 |
title = "Customized StreamBot"
|
268 |
with solara.Head():
|
269 |
solara.Title(f"{title}")
|
|
|
32 |
},
|
33 |
]
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
@solara.component
|
36 |
def GithubAvatar(name: str, handle: str, img: str):
|
37 |
with solara.v.Html(tag="a", attributes={"href": f"https://github.com/{handle}/", "target": "_blank"}):
|
|
|
253 |
solara.lab.theme.themes.light.secondary = "#0000ff"
|
254 |
solara.lab.theme.themes.dark.primary = "#ff0000"
|
255 |
solara.lab.theme.themes.dark.secondary = "#0000ff"
|
|
|
256 |
title = "Customized StreamBot"
|
257 |
with solara.Head():
|
258 |
solara.Title(f"{title}")
|