Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -1,3 +1,10 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 1 | 
         
             
            import re
         
     | 
| 2 | 
         
             
            import yaml
         
     | 
| 3 | 
         
             
            import gc
         
     | 
| 
         | 
|
| 1 | 
         
            +
            import os
         
     | 
| 2 | 
         
            +
            os.system('pip install bitsandbytes')
         
     | 
| 3 | 
         
            +
            os.system('pip install -q datasets loralib sentencepiece accelerate')
         
     | 
| 4 | 
         
            +
            os.system('pip install -q git+https://github.com/zphang/transformers@c3dc391')
         
     | 
| 5 | 
         
            +
            os.system('pip install -q git+https://github.com/huggingface/peft.git')
         
     | 
| 6 | 
         
            +
            os.system('pip install gradio')
         
     | 
| 7 | 
         
            +
             
     | 
| 8 | 
         
             
            import re
         
     | 
| 9 | 
         
             
            import yaml
         
     | 
| 10 | 
         
             
            import gc
         
     |