fffiloni commited on
Commit
7c82da9
1 Parent(s): 86055bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,10 +4,12 @@ import os
4
  import random
5
  import json
6
  import re
 
7
  from moviepy.editor import VideoFileClip
8
  from moviepy.audio.AudioClip import AudioClip
9
 
10
  hf_token = os.environ.get("HF_TKN")
 
11
 
12
  def extract_audio(video_in):
13
  input_video = video_in
 
4
  import random
5
  import json
6
  import re
7
+ import numpy as np
8
  from moviepy.editor import VideoFileClip
9
  from moviepy.audio.AudioClip import AudioClip
10
 
11
  hf_token = os.environ.get("HF_TKN")
12
+ MAX_SEED = np.iinfo(np.int32).max
13
 
14
  def extract_audio(video_in):
15
  input_video = video_in