From 476f8e37fb55448d75ae4f22e9294af606350220 Mon Sep 17 00:00:00 2001 From: etan91011 <35906380+etan91011@users.noreply.github.com> Date: Thu, 30 Oct 2025 13:16:59 -0500 Subject: [PATCH] fixed files from bad commit --- run_gui.sh | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100755 run_gui.sh diff --git a/run_gui.sh b/run_gui.sh deleted file mode 100755 index 5dfe2e70..00000000 --- a/run_gui.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# Script to run the Avatar GUI application with proper environment setup -# Usage: ./run_gui.sh - -# Get the directory where this script is located -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - -# Change to the project directory -cd "$SCRIPT_DIR" || exit 1 - -# Check if virtual environment exists -if [ ! -d "venv" ]; then - echo "Error: Virtual environment not found!" - echo "Please create a virtual environment first:" - echo " python3 -m venv venv" - echo " source venv/bin/activate" - echo " pip install -r requirements.txt" - exit 1 -fi - -# Activate virtual environment -echo "Activating virtual environment..." -source venv/bin/activate - -# Check if required packages are installed -echo "Checking dependencies..." -python3 -c "import PySide6" 2>/dev/null -if [ $? -ne 0 ]; then - echo "Error: PySide6 not found. Installing dependencies..." - pip install -r requirements.txt -fi - -# Check for additional required packages -echo "Verifying additional dependencies..." -python3 -c "import matplotlib; import requests; import sklearn" 2>/dev/null -if [ $? -ne 0 ]; then - echo "Installing additional required packages..." - pip install matplotlib requests scikit-learn -fi - -echo "Starting Avatar GUI..." -echo "========================================" -python3 GUI5.py - -# Deactivate virtual environment on exit -deactivate -