Commit History

revert: Gradio 5.x + ZeroGPU @spaces.GPU + demo.launch (was working, 4.x had Starlette bug)
1cca871

Ramosh99 commited on

fix: add @spaces.GPU stub to satisfy ZeroGPU checker (hardware setting needed in UI)
bc9ea20

Ramosh99 commited on

fix: cpu-basic hardware + gr.mount_gradio_app + uvicorn (removes ZeroGPU dependency)
3a03e86

Ramosh99 commited on

fix: Gradio 4 HighlightedText unhashable dict error by returning list of tuples to UI
9a16674

Ramosh99 commited on

fix: change flagging_mode to allow_flagging for Gradio 4.x compatibility
05b87c6

Ramosh99 commited on

refactor: switch to CPU-only β€” remove ZeroGPU/spaces, consistent latency
61d1581

Ramosh99 commited on

perf: async endpoint + startup warmup to reduce ZeroGPU cold-start latency
afd5b3c

Ramosh99 commited on

fix: include score in entity response (was missing from highlighted list)
9fd092c

Ramosh99 commited on

fix: remove add_middleware (cannot add after server start, HF proxy handles CORS)
f38bf0c

Ramosh99 commited on

fix: use demo.launch() for ZeroGPU compliance + attach REST routes to gr_app
55012e5

Ramosh99 commited on

fix: use @spaces.GPU directly β€” ZeroGPU scanner requires literal decorator
7048093

Ramosh99 commited on

fix: add uvicorn.run() to keep server alive β€” was exiting with code 0
997904f

Ramosh99 commited on

fix: make @spaces.GPU conditional + fix Pydantic v2 ConfigDict
11d1836

Ramosh99 commited on

fix: pin huggingface_hub<0.26.0 β€” spaces base image locks gradio 4.x which needs HfFolder
c2f9f52

Ramosh99 commited on

fix: explicitly pin gradio>=5.0.0 to upgrade system gradio used by spaces
8f65e1b

Ramosh99 commited on

fix: upgrade to Gradio 5 to resolve HfFolder import error
657309f

Ramosh99 commited on

fix: add HF Spaces README config
6977b60

Ramosh99 commited on

feat: add FastAPI REST endpoint /api/detect alongside Gradio UI
d420fe2

Ramosh99 commited on

Add test-gradio HF Space for codemix PII detector
1fce961

Ramosh99 Claude Opus 4.6 commited on