|
Download README.md from dxdoan/WC: direct link, hf CLI and curl.
- Browser
- Download file 3.45 kB
-
https://huggingface.co/spaces/dxdoan/WC/resolve/main/README.md
- Command line
-
hf download hf://spaces/dxdoan/WC/README.md
-
curl -L -o README.md https://huggingface.co/spaces/dxdoan/WC/resolve/main/README.md
3.45 kB
A newer version of the Streamlit SDK is available: 1.68.0
metadata
title: World Cup AI Assistant UI
emoji: π
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.28.0
app_file: app.py
pinned: false
World Cup AI Assistant - Enhanced UI
π΅ Media Assets Setup
Required Media Files
To complete the enhanced UI with music and video, you'll need to add the following files to the assets/ directory:
Audio Files
world_cup_1990_theme.mp3- World Cup 1990 theme "Un'estate italiana" (To Be Number One)world_cup_anthem.mp3- FIFA World Cup anthemcrowd_cheer.mp3- Crowd cheering sound effect
Video Files
world_cup_highlights.mp4- World Cup highlights compilationstadium_ambiance.mp4- Stadium atmosphere videotrophy_celebration.mp4- Trophy celebration moments
Image Files
world_cup_background.jpg- High-quality World Cup background imagetrophy_icon.png- World Cup trophy iconsoccer_field.jpg- Soccer field background
Media Sources
Free/Legal Sources
- FIFA Official: Limited free content from FIFA website
- Creative Commons: Search for World Cup content with CC licenses
- Public Domain: Historical World Cup footage
- Stock Media: Free stock video/audio sites
Recommended Sources
- Pixabay: Free World Cup videos and images
- Pexels: High-quality free stock footage
- Unsplash: Professional sports photography
- YouTube: Creative Commons licensed World Cup content
File Structure
worldcup-ui-app/
βββ app.py
βββ requirements.txt
βββ assets/
β βββ audio/
β β βββ world_cup_1990_theme.mp3
β β βββ world_cup_anthem.mp3
β β βββ crowd_cheer.mp3
β βββ video/
β β βββ world_cup_highlights.mp4
β β βββ stadium_ambiance.mp4
β β βββ trophy_celebration.mp4
β βββ images/
β βββ world_cup_background.jpg
β βββ trophy_icon.png
β βββ soccer_field.jpg
βββ README.md
π Deployment
Hugging Face Spaces
- Upload media files to the Space
- Update file paths in
app.py - Deploy to HF Spaces
Custom Domain (world-cup.ai)
- Configure domain DNS
- Set up reverse proxy
- Update CORS settings
WordPress Integration
- Embed iframe pointing to the app
- Responsive design for mobile
- SEO optimization
π¨ Features
Enhanced UI Elements
- Background Music: World Cup theme songs
- Background Video: World Cup highlights
- Interactive Controls: Toggle music/video on/off
- Enhanced Styling: Golden World Cup theme
- Responsive Design: Works on all devices
Media Controls
- Music Toggle: Turn background music on/off
- Video Toggle: Turn background video on/off
- Volume Control: Adjust audio levels
- Auto-play Settings: Configure media behavior
π± Mobile Optimization
- Touch-friendly controls
- Optimized video loading
- Reduced bandwidth usage
- Progressive enhancement
π§ Technical Notes
Streamlit Limitations
- Audio autoplay may be blocked by browsers
- Video autoplay requires user interaction
- File size limits for HF Spaces
Performance Considerations
- Compress media files for faster loading
- Use CDN for large files
- Implement lazy loading
- Cache media assets
Browser Compatibility
- Modern browsers support all features
- Fallback for older browsers
- Mobile browser optimization