hivecorp commited on
Commit
d5511a6
·
verified ·
1 Parent(s): 2f58308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -22,3 +22,14 @@ async def generate():
22
  async def combine(video_file: UploadFile = File(...), audio_file: UploadFile = File(...)):
23
  output_path = await combine_video_audio(video_file, audio_file)
24
  return FileResponse(output_path, media_type="video/mp4", filename=os.path.basename(output_path))
 
 
 
 
 
 
 
 
 
 
 
 
22
  async def combine(video_file: UploadFile = File(...), audio_file: UploadFile = File(...)):
23
  output_path = await combine_video_audio(video_file, audio_file)
24
  return FileResponse(output_path, media_type="video/mp4", filename=os.path.basename(output_path))
25
+
26
+
27
+ import sys
28
+ print(sys.path)
29
+
30
+ try:
31
+ import moviepy.editor
32
+ print("✅ MoviePy installed")
33
+ except Exception as e:
34
+ print(e)
35
+