KevlarVK commited on
Commit
3512b71
·
1 Parent(s): 3bb118d

Fix imports

Browse files
Files changed (2) hide show
  1. app.py +0 -3
  2. process_media.py +0 -3
app.py CHANGED
@@ -1,10 +1,7 @@
1
  import io
2
- import time
3
- import wave
4
  from process_media import MediaProcessor
5
  import streamlit as st
6
  from summarizer import BARTSummarizer
7
- from pydub import AudioSegment
8
  from Utils import fetch_article_text, get_text_from_youtube_url
9
 
10
  st.markdown(
 
1
  import io
 
 
2
  from process_media import MediaProcessor
3
  import streamlit as st
4
  from summarizer import BARTSummarizer
 
5
  from Utils import fetch_article_text, get_text_from_youtube_url
6
 
7
  st.markdown(
process_media.py CHANGED
@@ -2,11 +2,8 @@ import io
2
  import wave
3
  import tensorflow as tf
4
  import tensorflow_io as tfio
5
- import moviepy.editor as mp
6
- import numpy as np
7
  from pydub import AudioSegment
8
  from transformers import AutoProcessor, TFWhisperForConditionalGeneration
9
- from moviepy.video.io.VideoFileClip import VideoFileClip
10
 
11
  # tf.config.run_functions_eagerly(True)
12
 
 
2
  import wave
3
  import tensorflow as tf
4
  import tensorflow_io as tfio
 
 
5
  from pydub import AudioSegment
6
  from transformers import AutoProcessor, TFWhisperForConditionalGeneration
 
7
 
8
  # tf.config.run_functions_eagerly(True)
9