Downloads ยท 30 days
0
surya31/video_recommendation
video_recommendation is a machine learning model from surya31. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
HEAD --- title: Video Recommendation emoji: ๐ฅ colorFrom: blue colorTo: green sdk: gradio sdkversion: "5.47.1" appfile: frontendapp.py pinned: false ---
Downloads ยท 30 days
0
Access
Public
Updated Sep 26, 2025
Repo size
โ
Likes
0
Public
Click a slice to open those files.
.md5.2 KB ยท 58%
From the Hugging Face model README
This is a simple AI/ML-powered video recommendation engine built with FastAPI + SQLite for backend and Gradio for frontend.
Deployed on Hugging Face Spaces.
A sophisticated recommendation system that suggests personalized video content based on user preferences and engagement patterns using deep neural networks. Ref: to see what kind of motivational content you have to recommend, take reference from our Empowerverse App ANDROID || iOS. 96776b6d (update: add recommendation assignmnet)
This project implements a video recommendation algorithm that:
Clone the Repository
git clone https://github.com/Tim-Alpha/video-recommendation-assignment.git
cd video-recommendation-engine
Set Up Virtual Environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install Dependencies
pip install -r requirements.txt
Configure Environment Variables
Create a .env file in the root directory:
FLIC_TOKEN=your_flic_token
API_BASE_URL=https://api.socialverseapp.com
Run Database Migrations
alembic upgrade head
Start the Server
uvicorn app.main:app --reload
Get Personalized Feed
GET /feed?username={username}
Returns personalized video recommendations for a specific user.
Get Category-based Feed
GET /feed?username={username}&project_code={project_code}
Returns category-specific video recommendations for a user.
APIs for data collection:
Get All Viewed Posts (METHOD: GET):
https://api.socialverseapp.com/posts/view?page=1&page_size=1000&resonance_algorithm=resonance_algorithm_cjsvervb7dbhss8bdrj89s44jfjdbsjd0xnjkbvuire8zcjwerui3njfbvsujc5if
Get All Liked Posts (METHOD: GET):
https://api.socialverseapp.com/posts/like?page=1&page_size=1000&resonance_algorithm=resonance_algorithm_cjsvervb7dbhss8bdrj89s44jfjdbsjd0xnjkbvuire8zcjwerui3njfbvsujc5if
Get All Inspired posts (METHOD: GET):
{{base_url}}/posts/inspire?page=1&page_size=1000&resonance_algorithm=resonance_algorithm_cjsvervb7dbhss8bdrj89s44jfjdbsjd0xnjkbvuire8zcjwerui3njfbvsujc5if
Get All Rated posts (METHOD: GET):
https://api.socialverseapp.com/posts/rating?page=1&page_size=1000&resonance_algorithm=resonance_algorithm_cjsvervb7dbhss8bdrj89s44jfjdbsjd0xnjkbvuire8zcjwerui3njfbvsujc5if
Get All Posts (Header required*) (METHOD: GET):
https://api.socialverseapp.com/posts/summary/get?page=1&page_size=1000
Get All Users (Header required*) (METHOD: GET):
https://api.socialverseapp.com/users/get_all?page=1&page_size=1000
For autherization pass Flic-Token as header in the API request:
Header:
"Flic-Token": "flic_11d3da28e403d182c36a3530453e290add87d0b4a40ee50f17611f180d47956f"
Note: All external API calls require the Flic-Token header:
GitHub Repository
Video Submission
Notification