AbdullahIsaMarkus's picture
Upload folder using huggingface_hub
be716ff verified
raw
history blame contribute delete
554 Bytes
#!/bin/bash
# Build script for Medical Image Analyzer frontend
echo "πŸ₯ Building Medical Image Analyzer frontend..."
# Navigate to frontend directory
cd frontend
# Install dependencies
echo "πŸ“¦ Installing dependencies..."
npm install
# Build the component
echo "πŸ”¨ Building component..."
npm run build
# Copy built files to templates
echo "πŸ“‹ Copying built files to templates..."
mkdir -p ../backend/gradio_medical_image_analyzer/templates
cp -r dist/* ../backend/gradio_medical_image_analyzer/templates/
echo "βœ… Frontend build complete!"