AkashKhamkar commited on
Commit
cfabb9b
1 Parent(s): 82ce193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -151,10 +151,11 @@ def clean_text(link,start,end):
151
  return texts
152
 
153
  sf = pd.DataFrame(columns=['Segmented_Text','video_id'])
154
-
155
  text = segment(transcript.at[0,'text'])
 
156
  for i in range(len(text)):
157
- st.write('iteration no: ',i)
158
  sf.loc[i, 'Segmented_Text'] = text[i]
159
  sf.loc[i, 'video_id'] = transcript.at[0,'video_id']
160
 
 
151
  return texts
152
 
153
  sf = pd.DataFrame(columns=['Segmented_Text','video_id'])
154
+ text = []
155
  text = segment(transcript.at[0,'text'])
156
+
157
  for i in range(len(text)):
158
+ #st.write('iteration no: ',i)
159
  sf.loc[i, 'Segmented_Text'] = text[i]
160
  sf.loc[i, 'video_id'] = transcript.at[0,'video_id']
161