Update make_slideshow to upload generated video and return the uploaded URL
Browse files214 unmodified lines215216217218219220221214 unmodified lines# Return URL to the videobase_url = "https://saq1b-api.hf.space/static"video_url = f"{base_url}/{request_id}/slideshow.mp4"return {"url": video_url}except Exception as e:# Clean up on error214 unmodified lines215216217218219220221222214 unmodified lines# Return URL to the videobase_url = "https://saq1b-api.hf.space/static"video_url = f"{base_url}/{request_id}/slideshow.mp4"uploaded_video_url = upload_video(video_url)return {"url": uploaded_video_url}except Exception as e:# Clean up on error
main.py+2-1