Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ if uploaded_file is not None:
|
|
128 |
st.session_state.processed_data['story']
|
129 |
)
|
130 |
progress_bar.progress(100)
|
131 |
-
|
132 |
status_text.success("**✅ Generation complete!**")
|
133 |
html("<script>document.getElementById('timer').style.color = '#00cc00';</script>")
|
134 |
|
|
|
128 |
st.session_state.processed_data['story']
|
129 |
)
|
130 |
progress_bar.progress(100)
|
131 |
+
html("<script>if(window.myTimerInterval){ clearInterval(window.myTimerInterval); }</script>", height=0)
|
132 |
status_text.success("**✅ Generation complete!**")
|
133 |
html("<script>document.getElementById('timer').style.color = '#00cc00';</script>")
|
134 |
|