main code
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ for i, scene in enumerate(st.session_state.scenes):
|
|
75 |
|
76 |
# Button to generate video
|
77 |
if st.button("π Generate Video"):
|
78 |
-
if not title or not
|
79 |
st.error("β Please fill in all required fields and add at least one scene!")
|
80 |
else:
|
81 |
# Constructing video_inputs array from scenes
|
|
|
75 |
|
76 |
# Button to generate video
|
77 |
if st.button("π Generate Video"):
|
78 |
+
if not title or not st.session_state.scenes:
|
79 |
st.error("β Please fill in all required fields and add at least one scene!")
|
80 |
else:
|
81 |
# Constructing video_inputs array from scenes
|