Spaces:
Sleeping
Sleeping
Update dvnc_ai_v2_hf/app.py
Browse files- dvnc_ai_v2_hf/app.py +3 -1
dvnc_ai_v2_hf/app.py
CHANGED
|
@@ -10,6 +10,7 @@ from pathlib import Path
|
|
| 10 |
from typing import List, Dict, Optional
|
| 11 |
from urllib.parse import quote
|
| 12 |
from dvnc_ai_v2_hf.agent_route_cards import build_agent_route_cards_html
|
|
|
|
| 13 |
|
| 14 |
import gradio as gr
|
| 15 |
import requests
|
|
@@ -1279,7 +1280,7 @@ def load_paper_topic():
|
|
| 1279 |
return "self-assembling conductive biomaterials for cardiac repair"
|
| 1280 |
|
| 1281 |
|
| 1282 |
-
|
| 1283 |
:root {
|
| 1284 |
--bg: #ffffff;
|
| 1285 |
--panel: #ffffff;
|
|
@@ -1472,6 +1473,7 @@ footer { display: none !important; }
|
|
| 1472 |
.brain-svg { height: 460px; }
|
| 1473 |
}
|
| 1474 |
"""
|
|
|
|
| 1475 |
|
| 1476 |
HEAD = """
|
| 1477 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
| 10 |
from typing import List, Dict, Optional
|
| 11 |
from urllib.parse import quote
|
| 12 |
from dvnc_ai_v2_hf.agent_route_cards import build_agent_route_cards_html
|
| 13 |
+
from dvnc_ai_v2_hf.dvnc_ui_layout import get_dvnc_layout_css
|
| 14 |
|
| 15 |
import gradio as gr
|
| 16 |
import requests
|
|
|
|
| 1280 |
return "self-assembling conductive biomaterials for cardiac repair"
|
| 1281 |
|
| 1282 |
|
| 1283 |
+
BASE_CSS = r"""
|
| 1284 |
:root {
|
| 1285 |
--bg: #ffffff;
|
| 1286 |
--panel: #ffffff;
|
|
|
|
| 1473 |
.brain-svg { height: 460px; }
|
| 1474 |
}
|
| 1475 |
"""
|
| 1476 |
+
CSS = BASE_CSS + "\n" + get_dvnc_layout_css()
|
| 1477 |
|
| 1478 |
HEAD = """
|
| 1479 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|