A newer version of the Gradio SDK is available:
6.1.0
π Deployment Guide for Hugging Face Spaces
Quick Fix for Your Existing Space
Your Hugging Face Space at https://huggingface.co/spaces/kirudang/watermark-leaderboard has been updated with the following fixes:
β Fixed Issues
Flexible Submission Validation
- Now accepts any combination of attack types
- Submit only Attack-free, only Watermark Removal, only Stealing Attack, or any combination
- Clear validation messages guide users
Complete Pending Submissions Table
- Shows ALL fields: ID, Name, Model, Paper Link, Attack-free metrics, Watermark Removal metrics, Stealing Attack metrics, Submitted At
- Administrators can see complete submission details for proper review
Enhanced User Experience
- Clear submission requirements displayed in the form
- Better error messages
- Paper link field added
π Files to Update in Your Hugging Face Space
Upload these updated files to your Space:
- app.py - Main application with all fixes
- requirements.txt - Updated dependencies
- README.md - Updated documentation
- leaderboard.json - Latest data (if needed)
π How to Deploy
Option 1: Git Push (Recommended)
# In your watermark-leaderboard directory
git add .
git commit -m "Fix submission validation and pending approval display"
git push origin main
Option 2: Manual Upload
- Go to your Space: https://huggingface.co/spaces/kirudang/watermark-leaderboard
- Click "Files and versions" tab
- Upload the updated files:
app.pyrequirements.txtREADME.mdleaderboard.json(if you want to update data)
π― What's Fixed
Before (Issues):
- β Could only submit Attack-free data
- β Pending submissions showed limited fields
- β Confusing validation messages
After (Fixed):
- β Can submit any combination: Attack-free, Watermark Removal, Stealing Attack
- β Pending submissions show ALL fields for complete review
- β Clear submission requirements and validation
π Testing the Fixes
After deployment, test these scenarios:
- Submit only Stealing Attack data (no Attack-free)
- Submit only Watermark Removal data (no Attack-free)
- Submit combination of all three types
- Check pending submissions table shows all fields
π οΈ Admin Controls
- Admin Password:
admin123(you can change this in app.py) - Pending Submissions: Shows complete details for review
- Approval Process: Approve/reject with full visibility
Your Space will automatically rebuild when you push the changes!