Saqib commited on
Commit
831f131
1 Parent(s): 7ef1c54

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +2 -2
modules/app.py CHANGED
@@ -69,7 +69,7 @@ def download_file(url: str, suffix: str):
69
  temp_file.write(response.content)
70
  return temp_file.name
71
 
72
- @app.post("/add_audio_to_image/")
73
  async def add_audio_to_image(input_data: AudioImageInput):
74
  # Download image and audio files
75
  temp_image_path = download_file(str(input_data.image_url), ".png")
@@ -99,7 +99,7 @@ async def add_audio_to_image(input_data: AudioImageInput):
99
  # Return the URL path to the output file
100
  return f"/output/{output_filename}"
101
 
102
- @app.post("/concatenate_videos/")
103
  async def concatenate_videos(input_data: VideosInput):
104
  temp_video_paths = []
105
 
 
69
  temp_file.write(response.content)
70
  return temp_file.name
71
 
72
+ @app.post("/add_audio_to_image")
73
  async def add_audio_to_image(input_data: AudioImageInput):
74
  # Download image and audio files
75
  temp_image_path = download_file(str(input_data.image_url), ".png")
 
99
  # Return the URL path to the output file
100
  return f"/output/{output_filename}"
101
 
102
+ @app.post("/concatenate_videos")
103
  async def concatenate_videos(input_data: VideosInput):
104
  temp_video_paths = []
105