Spaces:
Running on Zero
Running on Zero
| [project] | |
| name = "instanovo-gradio" | |
| version = "0.1.0" | |
| description = "InstaNovo Gradio App" | |
| readme = "README.md" | |
| requires-python = ">=3.12,<3.14" | |
| dependencies = [ | |
| "gradio==5.50.0", | |
| "gradio-log==0.0.8", | |
| "instanovo[cu126]==1.2.2", | |
| "spaces>=0.50.2", | |
| "torch==2.8.0; sys_platform == 'linux' or sys_platform == 'win32'", | |
| "torch==2.7.1; sys_platform != 'linux' and sys_platform != 'win32'", | |
| ] | |
| [build-system] | |
| requires = ["setuptools>=61.0"] | |
| build-backend = "setuptools.build_meta" | |
| [tool.setuptools] | |
| py-modules = ["app"] | |
| packages = ["tests"] | |
| [tool.uv.sources] | |
| torch = [ | |
| { index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" }, | |
| ] | |
| [[tool.uv.index]] | |
| name = "pytorch-cu126" | |
| url = "https://download.pytorch.org/whl/cu126" | |
| explicit = true | |
| [project.optional-dependencies] | |
| test = [ | |
| "pytest>=8.0.0", | |
| ] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| python_files = ["test_*.py"] | |
| python_functions = ["test_*"] | |
| addopts = "-v --tb=short" | |
| filterwarnings = [ | |
| "ignore::DeprecationWarning", | |
| "ignore::FutureWarning", | |
| ] | |
| [dependency-groups] | |
| dev = [ | |
| "pytest>=9.0.2", | |
| ] | |