[build-system] requires = ["hatchling>=1.21.1"] build-backend = "hatchling.build" [project] name = "image-captioning-app" version = "0.1.0" description = "A deployable Gradio app for image captioning using Hugging Face Transformers" authors = [{ name = "Noah" }] readme = "README.md" requires-python = ">=3.10" keywords = ["image", "captioning", "gradio", "transformers", "pillow"] license = { text = "MIT" } # NOTE: Torch wheels are large; this pins CPU-friendly defaults. # Adjust versions as needed for your environment. dependencies = [ "gradio>=4.44.0", "transformers>=4.43.0", "pillow>=10.3.0", "safetensors>=0.4.3", "accelerate>=0.33.0", "torch>=2.3.0; platform_system != 'Darwin' or platform_machine != 'arm64'", ] [project.urls] Homepage = "https://example.com" [project.scripts] image-caption = "image_captioning_app.app:main" [tool.hatch.build] packages = ["src/image_captioning_app"] [tool.hatch.metadata] allow-direct-references = true