You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CORS(app) # Enable CORS if needed for your Chrome extension
@app.route("/analyze-video", methods=["POST"])
def analyze_video():
data = request.get_json()
prompt = data.get("prompt", "Find clips for inappropriate content in a video such as middle fingers, bad words (audio or visual), license plates, addresses and what not")