[FIX] Start Gradio Script - variable language not bound error (#920)

Co-authored-by: Gong Junmin <1836678486@qq.com>
This commit is contained in:
Yash Mathur 2026-03-21 21:38:08 +05:30 committed by GitHub
parent b800a31ad9
commit d8b509f70d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ SHARE="${SHARE:-}"
# SHARE="--share"
# Reset LANGUAGE if it contains an invalid value (e.g. system locale like en_CA:en)
case "$LANGUAGE" in
case "${LANGUAGE:-}" in
en|zh|he|ja) ;;
*) unset LANGUAGE ;;
esac