Spaces:
Runtime error
Runtime error
Download moderation.py from Mr-profik/Meta-Video: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/Mr-profik/Meta-Video/resolve/main/moderation.py
- Command line
-
hf download hf://spaces/Mr-profik/Meta-Video/moderation.py
-
curl -L -o moderation.py https://huggingface.co/spaces/Mr-profik/Meta-Video/resolve/main/moderation.py
310 Bytes
| from flask import Blueprint, jsonify | |
| mod_bp = Blueprint("mod", __name__) | |
| def ban(user_id): | |
| return jsonify({"message": f"user {user_id} banned"}) | |
| def delete(video_id): | |
| return jsonify({"message": f"video {video_id} deleted"}) |