chaskick / app.py

Commit History

  1. Add Remove Background checkbox to Multi-Object tab with overlay option

    Mirko Trasciatti
    cd7c867
  2. REVERT to propagate_in_video_iterator - it DOES support bidirectional propagation!

    Mirko Trasciatti
    cf42079
  3. Match reference Space: process frames 0→N sequentially, SAM2 handles bidirectional propagation internally

    Mirko Trasciatti
    a9a341a
  4. Implement TRUE bidirectional propagation: backward then forward from init_frame

    Mirko Trasciatti
    dc9a383
  5. Skip initial model inference at init_frame - let propagation loop handle it to avoid dtype issues

    Mirko Trasciatti
    99baa63
  6. Swap object order: PLAYER FIRST (165), BALL SECOND (0) to test propagation order dependency

    Mirko Trasciatti
    14d91b0
  7. Force all model parameters to float32 after reload

    Mirko Trasciatti
    8979711
  8. Fix SyntaxError: remove duplicate global declaration

    Mirko Trasciatti
    2b1f55d
  9. Reinitialize model between objects to prevent dtype contamination

    Mirko Trasciatti
    0387482
  10. Fix dtype mismatch - remove explicit dtype conversion on pixel_values, let model handle it

    Mirko Trasciatti
    afaca4b
  11. Fix dtype mismatches and bool tensor mean() errors

    Mirko Trasciatti
    4e8f2b2
  12. Fix bidirectional propagation - use frame-by-frame approach like reference Space

    Mirko Trasciatti
    e567d42
  13. Add debug logging to verify bidirectional propagation

    Mirko Trasciatti
    f595cab
  14. Clean up video references and finalize default JSON

    Mirko Trasciatti
    5dc1f3d
  15. Update default JSON values for multi-object tracking

    Mirko Trasciatti
    1ff88a2
  16. Clarify bidirectional propagation behavior and add debugging

    Mirko Trasciatti
    0da1e75
  17. Add advanced multi-point tracking for robust ball tracking

    Mirko Trasciatti
    72bc26e
  18. Revert to working version before multi-object changes

    Mirko Trasciatti
    4ec898d
  19. Fix multi-object API return format for Gradio compatibility

    Mirko Trasciatti
    a895730
  20. Add multi-object segmentation with confidence scores

    Mirko Trasciatti
    ba48feb

  1. Clean rebuild: Updated README, app.py, and requirements with pydantic fix

    Mirko Trasciatti
    e7cbaa4
  2. Minimal working version - clean slate

    Mirko Trasciatti
    962d5a0
  3. Restore to last known working version (single object only)

    Mirko Trasciatti
    8457ca9
  4. Remove redundant import json statement

    Mirko Trasciatti
    a2fc2ab
  5. Fix API video input using gr.File instead of gr.Video

    Mirko Trasciatti
    082968c
  6. Try Gradio 4.19.2 for Video component stability

    Mirko Trasciatti
    6767e1e
  7. Revert to Gradio 4.44.0, improve video path extraction for API compatibility

    Mirko Trasciatti
    75bf6cf
  8. Handle video_file as dict or string for Gradio 5.x compatibility

    Mirko Trasciatti
    534eeab
  9. Fix video output format and add error logging

    Mirko Trasciatti
    c3abe95
  10. Enable verbose error reporting for API debugging

    Mirko Trasciatti
    5ebe03c
  11. Fix: Use float32 for universal GPU compatibility and add detailed logging

    Mirko Trasciatti
    0bc5e9c
  12. Fix: Use bfloat16 instead of float16 for better GPU compatibility

    Mirko Trasciatti
    5e07dde
  13. Add @spaces.GPU decorator for ZeroGPU support

    Mirko Trasciatti
    ae9673c
  14. Fix: Use OpenCV for video loading to preserve portrait/landscape orientation

    Mirko Trasciatti
    62033bc
  15. Fix: Add pydantic==2.10.6 and share=True - following working SAM2 Space pattern

    Mirko Trasciatti
    9e98dde
  16. Fix: Ultra-simplified app to avoid Gradio schema bug - use Textbox instead of Number

    Mirko Trasciatti
    4e72a93
  17. Fix: Upgrade to Gradio 4.44.1 and use default launch settings

    Mirko Trasciatti
    9afa4f9
  18. Fix: Remove problematic API endpoint to avoid Gradio schema bug

    Mirko Trasciatti
    4587af1
  19. Fix: Resolve Gradio API schema error and remove share=False for HF Spaces

    Mirko Trasciatti
    016dd60
  20. Deploy SAM2 Video Background Remover with Gradio UI and API

    Mirko Trasciatti
    3cddaf8