Spaces:
Sleeping
Sleeping
Commit Β·
88dacfe
1
Parent(s): 5961cf0
Professionalize UI and docs: Remove emojis and refine deployment guide
Browse files- README.md +10 -10
- deployment_guide.md +8 -4
- frontend/index.html +1 -1
- src/main.py +1 -1
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
> **Premium Engagement Tracking Powered by AI and C++**
|
| 4 |
> Focused on Professional Productivity and Group Dynamic Monitoring.
|
|
@@ -48,19 +48,19 @@ graph TD
|
|
| 48 |
|
| 49 |
```
|
| 50 |
FocusFlow/
|
| 51 |
-
βββ cpp_modules/ #
|
| 52 |
-
βββ frontend/ #
|
| 53 |
-
βββ src/ #
|
| 54 |
β βββ main.py # FastAPI Gateway & Websockets
|
| 55 |
β βββ vision_engine.py# AI Vision Orchestrator
|
| 56 |
β βββ database.py # SQLite Persistence Layer
|
| 57 |
-
β βββ utils/ #
|
| 58 |
-
βββ data/ #
|
| 59 |
-
βββ architecture.md #
|
| 60 |
βββ file_manifest.md # π Breakdown of every file
|
| 61 |
-
βββ run.bat #
|
| 62 |
-
βββ build_cpp.bat #
|
| 63 |
-
βββ requirements.txt #
|
| 64 |
```
|
| 65 |
|
| 66 |
---
|
|
|
|
| 1 |
+
# FocusFlow: Real-Time Meeting Engagement Analytics
|
| 2 |
|
| 3 |
> **Premium Engagement Tracking Powered by AI and C++**
|
| 4 |
> Focused on Professional Productivity and Group Dynamic Monitoring.
|
|
|
|
| 48 |
|
| 49 |
```
|
| 50 |
FocusFlow/
|
| 51 |
+
βββ cpp_modules/ # C++ Performance Module (Source)
|
| 52 |
+
βββ frontend/ # Modern Web Interface (HTML/CSS/JS)
|
| 53 |
+
βββ src/ # Core Application Logic
|
| 54 |
β βββ main.py # FastAPI Gateway & Websockets
|
| 55 |
β βββ vision_engine.py# AI Vision Orchestrator
|
| 56 |
β βββ database.py # SQLite Persistence Layer
|
| 57 |
+
β βββ utils/ # Utility Scripts
|
| 58 |
+
βββ data/ # Storage (Database files)
|
| 59 |
+
βββ architecture.md # Detailed Technical Docs
|
| 60 |
βββ file_manifest.md # π Breakdown of every file
|
| 61 |
+
βββ run.bat # One-Click Launcher (Windows)
|
| 62 |
+
βββ build_cpp.bat # C++ Compilation Tool
|
| 63 |
+
βββ requirements.txt # Dependencies
|
| 64 |
```
|
| 65 |
|
| 66 |
---
|
deployment_guide.md
CHANGED
|
@@ -15,10 +15,14 @@ Hugging Face Spaces is the best free option for FocusFlow because it supports Do
|
|
| 15 |
Since your code is already on GitHub, you can either:
|
| 16 |
|
| 17 |
### Method A: Connect GitHub (Easiest)
|
| 18 |
-
1. On your new Space page, go to **Settings**.
|
| 19 |
-
2.
|
| 20 |
-
3.
|
| 21 |
-
4.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
### Method B: Manually Push via Git
|
| 24 |
1. Get the Git URL of your Space (ends in `.git`).
|
|
|
|
| 15 |
Since your code is already on GitHub, you can either:
|
| 16 |
|
| 17 |
### Method A: Connect GitHub (Easiest)
|
| 18 |
+
1. On your new Space page, go to the **Settings** tab (top right).
|
| 19 |
+
2. Scroll down to the **"Connected Repository"** or **"Github Repository"** section.
|
| 20 |
+
3. If you don't see your repo, click **"Connect your GitHub"** to authorize Hugging Face.
|
| 21 |
+
4. Select your `kush-rc/FocusFlow` repository from the list.
|
| 22 |
+
5. Hugging Face will automatically build and deploy whenever you push to GitHub.
|
| 23 |
+
|
| 24 |
+
> [!NOTE]
|
| 25 |
+
> If you still can't see the "Connected Repository" section, it might be because the Space was created as a "Standard" Space. Make sure you selected **Docker** as the SDK during creation.
|
| 26 |
|
| 27 |
### Method B: Manually Push via Git
|
| 28 |
1. Get the Git URL of your Space (ends in `.git`).
|
frontend/index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
<!-- Dashboard View -->
|
| 66 |
<section id="view-dashboard" class="view hidden">
|
| 67 |
<div class="welcome-box glass-panel">
|
| 68 |
-
<h2>Welcome to FocusFlow
|
| 69 |
<p>FocusFlow is a real-time meeting analytics tool that tracks visual engagement during video calls. It uses advanced computer vision and C++ extensions to compute your focus score dynamically.</p>
|
| 70 |
</div>
|
| 71 |
|
|
|
|
| 65 |
<!-- Dashboard View -->
|
| 66 |
<section id="view-dashboard" class="view hidden">
|
| 67 |
<div class="welcome-box glass-panel">
|
| 68 |
+
<h2>Welcome to FocusFlow</h2>
|
| 69 |
<p>FocusFlow is a real-time meeting analytics tool that tracks visual engagement during video calls. It uses advanced computer vision and C++ extensions to compute your focus score dynamically.</p>
|
| 70 |
</div>
|
| 71 |
|
src/main.py
CHANGED
|
@@ -369,6 +369,6 @@ if __name__ == "__main__":
|
|
| 369 |
# In a container/cloud, we must use 0.0.0.0
|
| 370 |
host = "0.0.0.0"
|
| 371 |
|
| 372 |
-
print(f"
|
| 373 |
# Disable reload because writing to the database triggers a server restart loop
|
| 374 |
uvicorn.run("src.main:app", host=host, port=port, reload=False)
|
|
|
|
| 369 |
# In a container/cloud, we must use 0.0.0.0
|
| 370 |
host = "0.0.0.0"
|
| 371 |
|
| 372 |
+
print(f"FocusFlow starting on http://{host}:{port}")
|
| 373 |
# Disable reload because writing to the database triggers a server restart loop
|
| 374 |
uvicorn.run("src.main:app", host=host, port=port, reload=False)
|