lucio commited on
Commit
ea67a5a
1 Parent(s): 2f42c1a

display longer

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -81,7 +81,10 @@ def stream_text(url, chunk_duration_ms, pad_duration_ms):
81
  def main():
82
  state = st.session_state
83
  st.header("Video ASR Streamlit from Youtube Link")
84
-
 
 
 
85
  with st.form(key="inputs_form"):
86
 
87
  initial_url = "https://youtu.be/ghOqTkGzX7I?t=60"
 
81
  def main():
82
  state = st.session_state
83
  st.header("Video ASR Streamlit from Youtube Link")
84
+ if "lines" in state:
85
+ # print the lines of subs
86
+ st.code("\n".join(state.lines))
87
+
88
  with st.form(key="inputs_form"):
89
 
90
  initial_url = "https://youtu.be/ghOqTkGzX7I?t=60"