randomnameplease's picture
Upload 9 files
bc73eb8 verified
Raw History Blame Contribute Delete
829 Bytes
#!/bin/bash
echo "πŸ”¬ CompositeDefect AI - NDT Analysis System"
echo "============================================"
echo ""
# Check if Python is installed
if ! command -v python3 &> /dev/null; then
echo "❌ Python 3 is not installed. Please install Python 3.8 or higher."
exit 1
fi
# Check if pip is installed
if ! command -v pip &> /dev/null; then
echo "❌ pip is not installed. Please install pip."
exit 1
fi
# Check if requirements are installed
echo "πŸ“¦ Checking dependencies..."
pip install -q -r requirements.txt
if [ $? -ne 0 ]; then
echo "❌ Failed to install dependencies. Please check your internet connection."
exit 1
fi
echo "βœ… Dependencies installed successfully!"
echo ""
# Run the Streamlit application
echo "πŸš€ Starting CompositeDefect AI..."
echo ""
streamlit run app.py