Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -4,9 +4,9 @@ except: | |
| 4 | 
             
                import os 
         | 
| 5 | 
             
                os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
         | 
| 6 | 
             
                os.system('cd /home/user/app/GLEE/glee/models/pixel_decoder/ops && python setup.py build install --user')
         | 
| 7 | 
            -
                 | 
| 8 | 
            -
                 | 
| 9 | 
            -
                 | 
| 10 |  | 
| 11 | 
             
            import gradio as gr
         | 
| 12 | 
             
            import numpy as np
         | 
|  | |
| 4 | 
             
                import os 
         | 
| 5 | 
             
                os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
         | 
| 6 | 
             
                os.system('cd /home/user/app/GLEE/glee/models/pixel_decoder/ops && python setup.py build install --user')
         | 
| 7 | 
            +
                os.system("pip uninstall -y gradio")
         | 
| 8 | 
            +
                os.system("pip install gradio==4.11.0")
         | 
| 9 | 
            +
                os.system('python -m pip install -e detectron2')
         | 
| 10 |  | 
| 11 | 
             
            import gradio as gr
         | 
| 12 | 
             
            import numpy as np
         |