@danhachuel/thunderbolt 0.7.19 → 0.7.21
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 -3
- 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";
|
|
@@ -6022,7 +6023,6 @@ def render_tiktok_automation():
|
|
|
6022
6023
|
st.rerun()
|
|
6023
6024
|
_render_tiktok_automation_cards()
|
|
6024
6025
|
|
|
6025
|
-
@st.fragment(run_every=5.0)
|
|
6026
6026
|
def _render_youtube_automation_cards():
|
|
6027
6027
|
st.divider()
|
|
6028
6028
|
st.subheader("Vídeos cadastrados")
|
package/package.json
CHANGED