From 8aad678a63d1c3695f08600a7aa1df884ea51186 Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Tue, 25 Jun 2024 15:59:10 +0100 Subject: [PATCH] Fix plotly version (#8606) * Unpin plotly * Fix plotly version deployed space for PRs --- scripts/copy_demos.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/copy_demos.py b/scripts/copy_demos.py index e782a13a27..ba84b4231b 100644 --- a/scripts/copy_demos.py +++ b/scripts/copy_demos.py @@ -69,11 +69,8 @@ if __name__ == "__main__": {args.gradio_client_version} {args.gradio_version} pypistats==1.1.0 - plotly==5.10.0 - opencv-python==4.6.0.66 - transformers==4.21.1 - torch==1.12.1 + plotly altair vega_datasets """ - open(reqs_file_path, "w").write(textwrap.dedent(requirements)) + pathlib.Path(reqs_file_path).write_text(textwrap.dedent(requirements))