user message
Browse files- app.py +2 -1
- dinov3_patching.ipynb +0 -0
    	
        app.py
    CHANGED
    
    | @@ -65,6 +65,7 @@ with gr.Blocks() as demo: | |
| 65 | 
             
                state_store = gr.State()
         | 
| 66 | 
             
                gr.Markdown("""
         | 
| 67 | 
             
                <h1 style="font-size:36px; font-weight:bold;">Patch Similarity Visualizer</h1>
         | 
|  | |
| 68 | 
             
                <ul style="font-size:18px;">
         | 
| 69 | 
             
                    <li>Upload an image in the <strong>left box</strong>.</li>
         | 
| 70 | 
             
                    <li>Click anywhere in the <strong>right box</strong> to select a patch.</li>
         | 
| @@ -80,4 +81,4 @@ with gr.Blocks() as demo: | |
| 80 |  | 
| 81 | 
             
                output_img.select(fn=reload_overlay, inputs=[state_store], outputs=[output_img])
         | 
| 82 |  | 
| 83 | 
            -
            demo.launch( | 
|  | |
| 65 | 
             
                state_store = gr.State()
         | 
| 66 | 
             
                gr.Markdown("""
         | 
| 67 | 
             
                <h1 style="font-size:36px; font-weight:bold;">Patch Similarity Visualizer</h1>
         | 
| 68 | 
            +
                This tool visualizes the similarity between image patches using DINOv3 embeddings. To use: <br>
         | 
| 69 | 
             
                <ul style="font-size:18px;">
         | 
| 70 | 
             
                    <li>Upload an image in the <strong>left box</strong>.</li>
         | 
| 71 | 
             
                    <li>Click anywhere in the <strong>right box</strong> to select a patch.</li>
         | 
|  | |
| 81 |  | 
| 82 | 
             
                output_img.select(fn=reload_overlay, inputs=[state_store], outputs=[output_img])
         | 
| 83 |  | 
| 84 | 
            +
            demo.launch()
         | 
    	
        dinov3_patching.ipynb
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  |