Commit History

docs: comprehensive project documentation for portfolio
fdced5d
Running

muhammadpriv001 commited on

fix: add @spaces.GPU to API handlers so middleware calls get GPU context
4583f36

muhammadpriv001 commited on

fix: lazy-load orchestrator for ZeroGPU, bump confidence to 60%
449969c

muhammadpriv001 commited on

fix: use ASGI middleware to intercept /api/* before Gradio catch-all route
d7f2e92

muhammadpriv001 commited on

fix: patch App.create_app directly instead of subclassing (staticmethod)
3b12341

muhammadpriv001 commited on

fix: use App instead of GradioApp for monkey-patch
110971c

muhammadpriv001 commited on

fix: restore monkey-patch approach with defined API functions, keep ZeroGPU detection working
05416a0

muhammadpriv001 commited on

fix: add ZeroGPU startup probe via FastAPI on_event
c063ad2

muhammadpriv001 commited on

fix: rewrite app.py - standalone FastAPI with Gradio mounted, fix 422 and missing _run_api_detection
ffa910f

muhammadpriv001 commited on

Fix route conflict: rename Gradio api_name to avoid /api/detect collision
f65aafa

muhammadpriv001 commited on

fix: make all form parameters optional in api_teach_object_route
059dab6

muhammadpriv001 commited on

fix: use getApiUrl in frontend for direct cross-origin API calls without proxy payload stripping
d585643

muhammadpriv001 commited on

fix: make form parameters optional in api_detect_route
f2d006b

muhammadpriv001 commited on

fix: add safe RequestValidationError handler for binary inputs and sanitize NEXT_PUBLIC_API_URL trailing slashes
2e4e19e

muhammadpriv001 commited on

fix: add python-multipart to requirements.txt and improve form parameter parsing for /api/detect
5227899

muhammadpriv001 commited on

fix: resolve Starlette TemplateResponse and Jinja2 unhashable dict template cache error
fa370eb

muhammadpriv001 commited on

fix: resolve AttributeError gr.Server by launching via demo.launch() with App.create_app hook
36743d9

muhammadpriv001 commited on

Update app.py and requirements.txt
e8b4c33

muhammadpriv001 commited on

fix: launch via demo.launch() so ZeroGPU detects @spaces.GPU functions while serving custom API endpoints
af4128c

muhammadpriv001 commited on

fix: upgrade gradio to 4.44.1, pin jinja2 3.1.3, patch template cache unhashable dict bug
9d3bc6e

muhammadpriv001 commited on

fix: mount Gradio on FastAPI app and launch with ZeroGPU support
6d768cc

muhammadpriv001 commited on

fix: patch gradio_client bool schema bug + remove explicit server params for Spaces
1e17690

muhammadpriv001 commited on

fix: use demo.launch() for ZeroGPU spaces.GPU detection
03816c4

muhammadpriv001 commited on

Move @spaces.GPU functions before Gradio Blocks for HF detection
6d901f5

muhammadpriv001 commited on

Pin huggingface_hub<1.0 to fix HfFolder import error
e07d0dc

muhammadpriv001 commited on

Merge branch 'main' of https://huggingface.co/spaces/muhammadpriv001/Object-Intelligence-Backend
e288755

muhammadpriv001 commited on

Add GPU support for HuggingFace Spaces deployment
8f88466

muhammadpriv001 commited on