@danhachuel/thunderbolt 0.7.19 → 0.7.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/main.py +3 -2
- package/package.json +1 -1
package/app/main.py
CHANGED
|
@@ -35,6 +35,7 @@ from typing import Any
|
|
|
35
35
|
|
|
36
36
|
import requests
|
|
37
37
|
import streamlit as st
|
|
38
|
+
import streamlit.components.v1 as components
|
|
38
39
|
|
|
39
40
|
ROOT = Path(__file__).resolve().parents[1]
|
|
40
41
|
if str(ROOT) not in sys.path:
|
|
@@ -267,8 +268,8 @@ ensure_storage()
|
|
|
267
268
|
st.set_page_config(page_title="Thunderbolt", page_icon="T", layout="wide", initial_sidebar_state="expanded")
|
|
268
269
|
|
|
269
270
|
theme_base = (st.get_option("theme.base") or "dark").lower()
|
|
270
|
-
|
|
271
|
-
|
|
271
|
+
components.html(
|
|
272
|
+
"""
|
|
272
273
|
<script>
|
|
273
274
|
(() => {
|
|
274
275
|
const STYLE_ID = "thunderbolt-light-theme-style";
|
package/package.json
CHANGED