Spaces:
Paused
Paused
Update app.py
Browse files31 unmodified lines3233343535363711 unmodified lines4950515352535431 unmodified lines user_dir = os.path.join(TMP_DIR, str(req.session_hash)) shutil.rmtree(user_dir)
@spaces.GPU()def preprocess_image(image: Image.Image) -> Image.Image: """ Preprocess the input image for 3D generation.11 unmodified lines processed_image = pipeline.preprocess_image(image) return processed_image
@spaces.GPU()def preprocess_videos(video: str) -> List[Tuple[Image.Image, str]]: """ Preprocess the input video for multi-image 3D generation.app.py-2