File size: 322 Bytes
0a9b595
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3
"""
SAM 2.1 + Grounding DINO Web Interface
Hugging Face Spaces Entry Point
"""

import gradio as gr
from sam_gui import create_interface

# Create the interface - this is what Hugging Face Spaces will use
demo = create_interface()

# Launch the interface
if __name__ == "__main__":
    demo.launch()