Skip to content

Commit

Permalink
Fix [all] requirement to use gradio less than 4.0 (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottower authored Nov 18, 2023
2 parents 42920e9 + 15affcc commit ac7fa00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions chatarena/environments/umshini/debate.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class DebateEnv(UmshiniBaseEnv):
Talk directly to the other player, the Moderator will not interject until the debate has finished.
The maximum number of characters for each response is {character_limit}.
Your first response should be an opening statement.
""",
Your first response should be an opening statement.""",
input_variables=["moderator_prompt_input", "character_limit"],
)
type_name = "debate"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ all_backends = ["anthropic>=0.2.8", "cohere>=4.3.1", "transformers>=4.27.4", "ba
all_envs = ["pettingzoo>=1.24.0", "chess==1.9.4", "rlcard==1.0.5", "pygame==2.3.0", "langchain>=0.0.135"]
database = ["supabase==2.0.3"]
testing = ["deptry>=0.12.0", "pytest>=7.4.3", "pytest-cov>=4.1.0", "pytest-xdist>=3.4.0"]
all = ["anthropic>=0.2.8", "cohere>=4.3.1", "transformers>=4.27.4", "gradio>=3.34.0", "pettingzoo>=1.24.0", "chess==1.9.4", "rlcard==1.0.5", "pygame==2.3.0", "gymnasium>=0.28.1",
all = ["anthropic>=0.2.8", "cohere>=4.3.1", "transformers>=4.27.4", "gradio>=3.34.0,<4.0.0", "pettingzoo>=1.24.0", "chess==1.9.4", "rlcard==1.0.5", "pygame==2.3.0", "gymnasium>=0.28.1",
"supabase==2.0.3", "bardapi==0.1.11", "langchain>=0.0.135", "deptry>=0.12.0", "pytest>=7.4.3", "pytest-cov>=4.1.0", "pytest-xdist>=3.4.0"]

[tool.deptry.per_rule_ignores]
Expand Down

0 comments on commit ac7fa00

Please sign in to comment.