Spaces:
Sleeping
Sleeping
File size: 2,590 Bytes
cd66a25 7832703 750b0f4 7832703 bfa9638 cd9bd48 bfa9638 cd9bd48 79d7ca9 7832703 bfa9638 7832703 10399f1 7832703 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
---
title: EduConnect
emoji: π
colorFrom: red
colorTo: pink
sdk: docker
pinned: false
license: apache-2.0
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
```
EduConnect/
βββ app/
β βββ __init__.py # Initializes the FastAPI app and global configurations
β βββ main.py # Entry point for the FastAPI application, defining routes
β βββ dependencies.py # Dependency utilities for JWT token verification, etc.
β βββ api/
β β βββ __init__.py
β β βββ userlogin.py # Endpoint for user login functionality
β β βββ userlogout.py # Endpoint for user logout functionality
β β βββ userchat.py # Endpoint for chat functionality
β β βββ userupload.py # Endpoint for file upload functionality
β βββ admin/
β β βββ __init__.py
β β βββ admin_functions.py # Contains server-side logic for admin tasks
β β βββ templates/ # Jinja2 templates for admin UI
β β βββ admin_login.html # Template for admin login page
β β βββ user_registration.html # Template for user registration page
β βββ utils/
β βββ __init__.py
β βββ db.py # Centraized DB functions for ChromaDB collections, TinyDB
β βββ chat_rag.py # LLM chat function with RAG from vector DB
β βββ doc_ingest.py # Utility to ingest pdf documents into vector DB
β βββ jwt_utils.py # Utility for JWT tokens
β βββ download_model.py # Utility for downloading model from hugging face
β βββ ec_image_utils.py # Integrates MTCNN and Facenet for login authentication
βββ static/
β βββ css/ # CSS for the administration portal
β βββ js/ # Javascripts if any for administration portal
β βββ images/ # UI rendering images for administration page
βββ Dockerfile # Docker configuration for setting up the environment
βββ requirements.txt # Lists all Python library dependencies
βββ entrypoint.sh # To download model from hugging face
βββ .env # Environment variables for configuration settings
``` |