Spaces:
Running
Running
zaysrwk commited on
Commit ·
2142ae0
1
Parent(s): 9b703ea
Update documentation to reflect recent frontend fixes and changes
Browse filesAdd notes on fixes for progress bar, async endpoint usage, polling logic, and result fetching.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 064f791d-a5ee-4eab-ab49-cbb215105dc0
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 811e65c5-a2c5-4a80-ad99-506d8804b0e0
.replit
CHANGED
|
@@ -4,7 +4,7 @@ expertMode = true
|
|
| 4 |
|
| 5 |
[nix]
|
| 6 |
channel = "stable-25_05"
|
| 7 |
-
packages = ["freetype", "lcms2", "libimagequant", "libjpeg_turbo", "libpng", "libtiff", "libwebp", "libxcrypt", "tcl", "tk", "which", "zlib", "gut"
|
| 8 |
|
| 9 |
[workflows]
|
| 10 |
runButton = "Project"
|
|
|
|
| 4 |
|
| 5 |
[nix]
|
| 6 |
channel = "stable-25_05"
|
| 7 |
+
packages = ["freetype", "lcms2", "libimagequant", "libjpeg_turbo", "libpng", "libtiff", "libwebp", "libxcrypt", "tcl", "tk", "which", "zlib", "gut"]
|
| 8 |
|
| 9 |
[workflows]
|
| 10 |
runButton = "Project"
|
replit.md
CHANGED
|
@@ -92,6 +92,12 @@ Example response from progress endpoint:
|
|
| 92 |
- **Background threading**: Server stays responsive during processing
|
| 93 |
|
| 94 |
## Recent Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
- 2025-11-28: Added progress tracking and async processing
|
| 96 |
- New progress_tracker.py module with thread-safe job tracking
|
| 97 |
- /progress/{job_id} and /result/{job_id} endpoints
|
|
|
|
| 92 |
- **Background threading**: Server stays responsive during processing
|
| 93 |
|
| 94 |
## Recent Changes
|
| 95 |
+
- 2025-11-28: Fixed frontend progress bar and image return issues
|
| 96 |
+
- Added visual progress bar with percentage display to frontend
|
| 97 |
+
- Updated frontend to use async endpoints for all features
|
| 98 |
+
- Added polling logic with proper error handling and timeouts
|
| 99 |
+
- Fixed image result fetching with 202 status handling
|
| 100 |
+
- All endpoints now show real-time progress during processing
|
| 101 |
- 2025-11-28: Added progress tracking and async processing
|
| 102 |
- New progress_tracker.py module with thread-safe job tracking
|
| 103 |
- /progress/{job_id} and /result/{job_id} endpoints
|