diff --git a/README.md b/README.md index 94cc8d8..bffe810 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,39 @@ Modly supports external model and process extensions. Each extension is a GitHub Join the [Discord server](https://discord.gg/BvjDCvS3yr) to stay up to date with the latest news, report bugs, and share feedback. +Follow Modly and its development on X: + +- [Modly on X](https://x.com/modly3d) +- [Lightning Pixel on X](https://x.com/lightningpiixel) + +--- + +## Sponsors + +

+ Thanks to our early sponsors for believing in Modly and helping make local AI 3D generation more accessible. +

+ +

+ + DrHepa +
+ DrHepa +
+    + + benjapenjamin +
+ benjapenjamin +
+    + + iammojogo-sudo +
+ iammojogo-sudo +
+

+ --- ## License diff --git a/api/main.py b/api/main.py index 8cc586e..38a640d 100644 --- a/api/main.py +++ b/api/main.py @@ -31,7 +31,7 @@ def filter(self, record): app = FastAPI( title="Modly API", - version="0.3.5", + version="0.3.6", lifespan=lifespan, ) diff --git a/api/routers/generation.py b/api/routers/generation.py index d64843d..ad59899 100644 --- a/api/routers/generation.py +++ b/api/routers/generation.py @@ -127,7 +127,8 @@ async def _run_generation(job_id: str, image_bytes: bytes, params: dict, collect job.status = "running" def progress_cb(pct: int, step: str = "") -> None: - job.progress = pct + if pct > job.progress: + job.progress = pct if step: job.step = step diff --git a/api/services/extension_process.py b/api/services/extension_process.py index df0e8f7..60ce678 100644 --- a/api/services/extension_process.py +++ b/api/services/extension_process.py @@ -190,7 +190,7 @@ def _read_loop(self, proc: subprocess.Popen, msg_queue: queue.Queue) -> None: try: msg_queue.put(json.loads(line)) except json.JSONDecodeError: - print(f"[{self.MODEL_ID}] bad JSON: {line}", file=sys.stderr) + print(f"[{self.MODEL_ID}] {line}", file=sys.stderr) finally: msg_queue.put(None) # sentinel: process is done diff --git a/package.json b/package.json index 8828919..40a9045 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modly", - "version": "0.3.5", + "version": "0.3.6", "description": "Local AI-powered 3D mesh generation from images", "main": "./out/main/index.js", "author": "Modly",