Commit 
							
							Β·
						
						fe8e144
	
1
								Parent(s):
							
							60ecaf9
								
updated guidelines
Browse files- __pycache__/validation.cpython-312.pyc +0 -0
- app.py +7 -2
    	
        __pycache__/validation.cpython-312.pyc
    ADDED
    
    | Binary file (3.94 kB). View file | 
|  | 
    	
        app.py
    CHANGED
    
    | @@ -30,9 +30,14 @@ def process_file(file): | |
| 30 |  | 
| 31 | 
             
            def create_ui():
         | 
| 32 | 
             
                with gr.Blocks(theme=gr.themes.Soft()) as app:
         | 
|  | |
| 33 | 
             
                    gr.Markdown("# ππ₯ Croissant JSON-LD Validator for NeurIPS")
         | 
| 34 | 
             
                    gr.Markdown("""
         | 
| 35 | 
            -
                    Upload your Croissant JSON-LD file or enter a URL to validate if it meets the requirements for NeurIPS submission.
         | 
|  | |
|  | |
|  | |
|  | |
| 36 | 
             
                    The validator will check:
         | 
| 37 | 
             
                    1. If the file is valid JSON
         | 
| 38 | 
             
                    2. If it passes Croissant schema validation
         | 
| @@ -271,7 +276,7 @@ def create_ui(): | |
| 271 | 
             
                    # Footer
         | 
| 272 | 
             
                    gr.HTML("""
         | 
| 273 | 
             
                    <div style="text-align: center; margin-top: 20px;">
         | 
| 274 | 
            -
                        <p>Learn more about <a href="https://github.com/mlcommons/croissant" target="_blank">Croissant | 
| 275 | 
             
                    </div>
         | 
| 276 | 
             
                    """)
         | 
| 277 |  | 
|  | |
| 30 |  | 
| 31 | 
             
            def create_ui():
         | 
| 32 | 
             
                with gr.Blocks(theme=gr.themes.Soft()) as app:
         | 
| 33 | 
            +
                    gr.Markdown("""<p align="center"><img src="https://upload.wikimedia.org/wikipedia/en/0/08/Logo_for_Conference_on_Neural_Information_Processing_Systems.svg" alt="NeurIPS Logo" width="400"/></p>""")
         | 
| 34 | 
             
                    gr.Markdown("# ππ₯ Croissant JSON-LD Validator for NeurIPS")
         | 
| 35 | 
             
                    gr.Markdown("""
         | 
| 36 | 
            +
                    Upload your Croissant JSON-LD file or enter a URL to validate if it meets the requirements for NeurIPS submission. <a href="https://blog.neurips.cc/2025/03/10/neurips-datasets-benchmarks-raising-the-bar-for-dataset-submissions/">Read more about why this is required.</a>.
         | 
| 37 | 
            +
                    
         | 
| 38 | 
            +
                    *It doesn't matter where your dataset is hosted. It can be HuggingFace, Kaggle, OpenML, Harvard Dataverse, self-hosted, or elsewhere.* 
         | 
| 39 | 
            +
                    """)
         | 
| 40 | 
            +
                    gr.Markdown("""
         | 
| 41 | 
             
                    The validator will check:
         | 
| 42 | 
             
                    1. If the file is valid JSON
         | 
| 43 | 
             
                    2. If it passes Croissant schema validation
         | 
|  | |
| 276 | 
             
                    # Footer
         | 
| 277 | 
             
                    gr.HTML("""
         | 
| 278 | 
             
                    <div style="text-align: center; margin-top: 20px;">
         | 
| 279 | 
            +
                        <p>Learn more about <a href="https://github.com/mlcommons/croissant" target="_blank">Croissant</a>.</p>
         | 
| 280 | 
             
                    </div>
         | 
| 281 | 
             
                    """)
         | 
| 282 |  | 
