Spaces:
Runtime error
Runtime error
Chaow Wu commited on
Commit ·
f783273
1
Parent(s): 2391fff
app.py
CHANGED
|
@@ -100,8 +100,8 @@ async def serve(q: Q):
|
|
| 100 |
box=ui.box('content'),
|
| 101 |
data=data('content from_user', t='list'),
|
| 102 |
name='chatbot',
|
| 103 |
-
history = {'internal': [], 'visible': []}
|
| 104 |
)
|
|
|
|
| 105 |
elif q.args.dark_mode is not None:
|
| 106 |
q.page['meta'].theme = 'h2o-dark' if q.args.dark_mode else 'light'
|
| 107 |
q.page['sidebar'].color = 'card' if q.args.dark_mode else 'primary'
|
|
|
|
| 100 |
box=ui.box('content'),
|
| 101 |
data=data('content from_user', t='list'),
|
| 102 |
name='chatbot',
|
|
|
|
| 103 |
)
|
| 104 |
+
history = {'internal': [], 'visible': []}
|
| 105 |
elif q.args.dark_mode is not None:
|
| 106 |
q.page['meta'].theme = 'h2o-dark' if q.args.dark_mode else 'light'
|
| 107 |
q.page['sidebar'].color = 'card' if q.args.dark_mode else 'primary'
|