refactor: standardize developer text and identifiers in English
This commit is contained in:
+7
-7
@@ -13,32 +13,32 @@ fi
|
||||
S2S_PROXY_TARGET="${S2S_PROXY_TARGET:-ws://ai-server:12345/v1/realtime}"
|
||||
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
echo "Errore: python3 non trovato."
|
||||
echo "Error: python3 was not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$VENV_DIR" ]; then
|
||||
echo "Creazione ambiente virtuale in .venv..."
|
||||
echo "Creating the virtual environment in .venv..."
|
||||
python3 -m venv "$VENV_DIR"
|
||||
fi
|
||||
|
||||
source "$VENV_DIR/bin/activate"
|
||||
|
||||
if [ ! -f "$REQ_FILE" ]; then
|
||||
echo "Errore: file requirements non trovato: $REQ_FILE"
|
||||
echo "Error: requirements file was not found: $REQ_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! python -c "import fastapi, uvicorn, httpx, huggingface_hub, dotenv" >/dev/null 2>&1; then
|
||||
echo "Installazione dipendenze da s2s-client/requirements.txt..."
|
||||
echo "Installing dependencies from s2s-client/requirements.txt..."
|
||||
python -m pip install -r "$REQ_FILE"
|
||||
fi
|
||||
|
||||
export S2S_PROXY_TARGET
|
||||
|
||||
echo "💻 Avvio dell'interfaccia S2S Client UI (Porta $UI_PORT)..."
|
||||
echo "🔌 Proxy realtime verso $S2S_PROXY_TARGET"
|
||||
echo " Premi Ctrl+C in questo terminale per fermarla."
|
||||
echo "💻 Starting the S2S client UI (port $UI_PORT)..."
|
||||
echo "🔌 Realtime proxy target: $S2S_PROXY_TARGET"
|
||||
echo " Press Ctrl+C in this terminal to stop it."
|
||||
echo "----------------------------------------------------"
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
Reference in New Issue
Block a user