Spaces:
Sleeping
Sleeping
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the BSD-style license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| [build-system] | |
| requires = ["setuptools>=45", "wheel"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "openenv-subtext_arena" | |
| version = "0.1.0" | |
| description = "Subtext Arena environment for OpenEnv" | |
| requires-python = ">=3.10" | |
| dependencies = [ | |
| # Core OpenEnv runtime (provides FastAPI server + HTTP client types) | |
| "openenv-core[core]>=0.2.3", | |
| # Subtext Arena: prosody features are pre-computed and shipped as JSON. | |
| # No torch / librosa / whisper needed at RUNTIME — keeps the HF Space | |
| # image small and boot fast. The env reads cached prosody descriptors | |
| # straight from data/prosody_cache/ and renders them as text for the agent. | |
| ] | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=8.0.0", | |
| "pytest-cov>=4.0.0", | |
| ] | |
| [project.scripts] | |
| # Server entry point - enables running via: uv run --project . server | |
| # or: python -m subtext_arena.server.app | |
| server = "subtext_arena.server.app:main" | |
| [tool.setuptools] | |
| include-package-data = true | |
| packages = ["subtext_arena", "subtext_arena.server", "subtext_arena.train"] | |
| package-dir = { "subtext_arena" = ".", "subtext_arena.server" = "server", "subtext_arena.train" = "train" } | |
| [tool.setuptools.package-data] | |
| subtext_arena = [ | |
| "data/sarcasm_data.json", | |
| "data/pivot_set.json", | |
| "data/prosody_cache/utterances/*.json", | |
| "data/prosody_cache/context/*.json", | |
| "openenv.yaml", | |
| ] |