Spaces:
Runtime error
Runtime error
|
Download GITHUB_SETUP.md from ArtemisAI/Level-1-Project-2-Text-Summarization: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/spaces/ArtemisAI/Level-1-Project-2-Text-Summarization/resolve/main/GITHUB_SETUP.md
- Command line
-
hf download hf://spaces/ArtemisAI/Level-1-Project-2-Text-Summarization/GITHUB_SETUP.md
-
curl -L -o GITHUB_SETUP.md https://huggingface.co/spaces/ArtemisAI/Level-1-Project-2-Text-Summarization/resolve/main/GITHUB_SETUP.md
1.33 kB
A newer version of the Gradio SDK is available: 6.32.0
GitHub Repository Setup
To push this project to GitHub:
Create a new repository on GitHub
- Go to https://github.com/new
- Repository name:
text-summarization-huggingface - Description: "Text Summarization with Transformers - Interactive Gradio demo using DistilBART for portfolio showcase"
- Choose Public (for portfolio visibility)
- Don't initialize with README (we already have one)
Connect your local repository to GitHub
# Add your GitHub repository as remote origin git remote add origin https://github.com/YOUR_USERNAME/text-summarization-huggingface.git # Push your code to GitHub git push -u origin masterAlternative: Using SSH (if configured)
git remote add origin git@github.com:YOUR_USERNAME/text-summarization-huggingface.git git push -u origin master
For Hugging Face Spaces:
Authenticate with Hugging Face
huggingface-cli loginUpload to Hugging Face Spaces
python3 upload_to_hub.py
Security Notes:
- ✅
.gitignoreexcludes all sensitive files and cache directories - ✅ No hardcoded tokens or credentials in any files
- ✅ Upload script uses secure authentication via HF CLI
- ✅ Model files and cache are excluded from version control