Spaces:
Sleeping
Sleeping
CB commited on
Update streamlit_app.py
Browse files- streamlit_app.py +1 -5
streamlit_app.py
CHANGED
|
@@ -341,11 +341,7 @@ def compress_video_if_large(local_path: str, threshold_mb: int = 200):
|
|
| 341 |
# ---- Simple layout ----
|
| 342 |
col1, col2 = st.columns([1, 3])
|
| 343 |
with col1:
|
| 344 |
-
generate_now = st.button(
|
| 345 |
-
"Generate the story",
|
| 346 |
-
type="primary",
|
| 347 |
-
disabled=not (bool(get_effective_api_key()) and bool(st.session_state.get("videos")) and not st.session_state.get("busy"))
|
| 348 |
-
)
|
| 349 |
with col2:
|
| 350 |
# small UX note column
|
| 351 |
if not st.session_state.get("videos"):
|
|
|
|
| 341 |
# ---- Simple layout ----
|
| 342 |
col1, col2 = st.columns([1, 3])
|
| 343 |
with col1:
|
| 344 |
+
generate_now = st.button("Generate the story", type="primary", disabled=not bool(get_effective_api_key()))
|
|
|
|
|
|
|
|
|
|
|
|
|
| 345 |
with col2:
|
| 346 |
# small UX note column
|
| 347 |
if not st.session_state.get("videos"):
|