Spaces:
Build error
Build error
Commit ·
d0f2341
1
Parent(s): 3f3db0b
Old changes
Browse files- README.md +2 -2
- frontend/index.html +18 -0
- requirements.txt +4 -3
README.md
CHANGED
|
@@ -21,13 +21,13 @@ A system for compressing long-form content into clear, structured summaries. Pr
|
|
| 21 |
|
| 22 |
### Run the Fine-Tuning
|
| 23 |
|
| 24 |
-
Follow the scripts in `scripts/`, using any model you prefer. This project has been primarily tested phi4-mini (from
|
| 25 |
|
| 26 |
### Backend
|
| 27 |
|
| 28 |
```bash
|
| 29 |
cd backend
|
| 30 |
-
pip install
|
| 31 |
uvicorn app:app --reload
|
| 32 |
```
|
| 33 |
|
|
|
|
| 21 |
|
| 22 |
### Run the Fine-Tuning
|
| 23 |
|
| 24 |
+
Follow the scripts in `scripts/`, using any model you prefer. This project has been primarily tested with phi4-mini (from Microsoft) and Qwen 3-3b (from Alibaba).
|
| 25 |
|
| 26 |
### Backend
|
| 27 |
|
| 28 |
```bash
|
| 29 |
cd backend
|
| 30 |
+
pip install -r ../requirements.txt
|
| 31 |
uvicorn app:app --reload
|
| 32 |
```
|
| 33 |
|
frontend/index.html
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8" />
|
| 6 |
+
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.svg" />
|
| 7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 8 |
+
<meta name="description"
|
| 9 |
+
content="Précis — Summarize YouTube videos, articles, and text files with local AI models." />
|
| 10 |
+
<title>Précis</title>
|
| 11 |
+
</head>
|
| 12 |
+
|
| 13 |
+
<body>
|
| 14 |
+
<div id="root"></div>
|
| 15 |
+
<script type="module" src="/src/main.jsx"></script>
|
| 16 |
+
</body>
|
| 17 |
+
|
| 18 |
+
</html>
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
torch
|
| 3 |
transformers
|
| 4 |
accelerate
|
|
@@ -10,5 +10,6 @@ sentencepiece
|
|
| 10 |
# API
|
| 11 |
fastapi
|
| 12 |
uvicorn
|
| 13 |
-
httpx
|
| 14 |
-
python-multipart
|
|
|
|
|
|
| 1 |
+
# ML Training vibes
|
| 2 |
torch
|
| 3 |
transformers
|
| 4 |
accelerate
|
|
|
|
| 10 |
# API
|
| 11 |
fastapi
|
| 12 |
uvicorn
|
| 13 |
+
httpx # async HTTP client for Ollama calls
|
| 14 |
+
python-multipart # required by FastAPI for file uploads
|
| 15 |
+
youtube-transcript-api # YouTube transcript fetching
|