Spaces:
Runtime error
Runtime error
test commited on
Commit ·
9df676c
1
Parent(s): fb64db4
use Soft theme
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ def get_chat_id():
|
|
| 112 |
css_fn = Path(__file__).resolve().parent / "static" / "app.css"
|
| 113 |
assert css_fn.exists() and css_fn.is_file(), f"CSS file not found: {css_fn}"
|
| 114 |
|
| 115 |
-
with gr.Blocks(css=str(css_fn)) as demo:
|
| 116 |
chat_id = gr.State(value=get_chat_id)
|
| 117 |
history_en = gr.State(value=[])
|
| 118 |
history_bo = gr.Chatbot(label="Tibetan Chatbot", elem_id="maiChatHistory").style(
|
|
|
|
| 112 |
css_fn = Path(__file__).resolve().parent / "static" / "app.css"
|
| 113 |
assert css_fn.exists() and css_fn.is_file(), f"CSS file not found: {css_fn}"
|
| 114 |
|
| 115 |
+
with gr.Blocks(css=str(css_fn), theme=gr.themes.Soft()) as demo:
|
| 116 |
chat_id = gr.State(value=get_chat_id)
|
| 117 |
history_en = gr.State(value=[])
|
| 118 |
history_bo = gr.Chatbot(label="Tibetan Chatbot", elem_id="maiChatHistory").style(
|