Spaces:
Runtime error
Runtime error
Saqib commited on
Update modules/app.py
Browse files69 unmodified lines7071727374757623 unmodified lines10010110210310410510669 unmodified linestemp_file.write(await response.read())return temp_file.name@app.post("/add_audio_to_image/")async def add_audio_to_image(input_data: AudioImageInput):# Download image and audio filestemp_image_path = await download_file(str(input_data.image_url), ".png")23 unmodified lines# Return the URL path to the output filereturn f"/output/{output_filename}"@app.post("/concatenate_videos/")async def concatenate_videos(input_data: VideosInput):temp_video_paths = []69 unmodified lines7071727374757623 unmodified lines10010110210310410510669 unmodified linestemp_file.write(await response.read())return temp_file.name@app.post("/add_audio_to_image")async def add_audio_to_image(input_data: AudioImageInput):# Download image and audio filestemp_image_path = await download_file(str(input_data.image_url), ".png")23 unmodified lines# Return the URL path to the output filereturn f"/output/{output_filename}"@app.post("/concatenate_videos")async def concatenate_videos(input_data: VideosInput):temp_video_paths = []
modules/app.py+2-2