frankai98 commited on
Commit
a1f1fd9
·
verified ·
1 Parent(s): e854579

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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