sreepathi-ravikumar commited on
Commit
809f4e0
·
verified ·
1 Parent(s): 557c637

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def video_func(id,lines):
21
  if os.path.exists(filename):
22
  audio = MP3(filename)
23
  duration = audio.info.length
24
- IMAGE_PATH = "images/slide"+str(id)+".png" # Ensure this path is correct
25
  VIDEO_DURATION = duration # seconds
26
  HIGHLIGHT_COLOR = (255, 255, 0) # Yellow highlight
27
  HIGHLIGHT_OPACITY = 0.5 # Semi-transparent
 
21
  if os.path.exists(filename):
22
  audio = MP3(filename)
23
  duration = audio.info.length
24
+ IMAGE_PATH = "/tmp/images/slide"+str(id)+".png" # Ensure this path is correct
25
  VIDEO_DURATION = duration # seconds
26
  HIGHLIGHT_COLOR = (255, 255, 0) # Yellow highlight
27
  HIGHLIGHT_OPACITY = 0.5 # Semi-transparent