Skip to content

Commit 3b29c9a

Browse files
author
sd109
committed
Pin Python to 3.11 in tilt dev env
1 parent 934d0ea commit 3b29c9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tiltfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if run_ui_locally:
3838
name="gradio-app-venv",
3939
deps=[requirements],
4040
cmd=" && ".join([
41-
"([[ -d {} ]] || python3 -m venv {})".format(venv_name, venv_name),
41+
"([[ -d {} ]] || python3.11 -m venv {})".format(venv_name, venv_name),
4242
"source {}/bin/activate".format(venv_name),
4343
"pip install -r {}".format(requirements),
4444
])
@@ -54,4 +54,4 @@ if run_ui_locally:
5454
"cd chart/web-app",
5555
"python3 app.py {} localhost".format(hf_model),
5656
])
57-
)
57+
)

0 commit comments

Comments
 (0)