Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -36,7 +36,6 @@ else: 
     | 
|
| 36 | 
         
             
                print("Using CPU")
         
     | 
| 37 | 
         | 
| 38 | 
         
             
            model = model.to(device)
         
     | 
| 39 | 
         
            -
            # Dispatch Errors
         
     | 
| 40 | 
         | 
| 41 | 
         | 
| 42 | 
         
             
            @spaces.GPU(duration=60)
         
     | 
| 
         @@ -112,6 +111,6 @@ demo = gr.ChatInterface( 
     | 
|
| 112 | 
         
             
                title="Chat With Phi-3-Small-8k-7b-Instruct",
         
     | 
| 113 | 
         
             
                description="[microsoft/Phi-3-small-8k-instruct](https://huggingface.co/microsoft/Phi-3-small-8k-instruct)",
         
     | 
| 114 | 
         
             
                css="footer {visibility: hidden}",
         
     | 
| 115 | 
         
            -
             
     | 
| 116 | 
         
             
            )
         
     | 
| 117 | 
         
             
            demo.launch()
         
     | 
| 
         | 
|
| 36 | 
         
             
                print("Using CPU")
         
     | 
| 37 | 
         | 
| 38 | 
         
             
            model = model.to(device)
         
     | 
| 
         | 
|
| 39 | 
         | 
| 40 | 
         | 
| 41 | 
         
             
            @spaces.GPU(duration=60)
         
     | 
| 
         | 
|
| 111 | 
         
             
                title="Chat With Phi-3-Small-8k-7b-Instruct",
         
     | 
| 112 | 
         
             
                description="[microsoft/Phi-3-small-8k-instruct](https://huggingface.co/microsoft/Phi-3-small-8k-instruct)",
         
     | 
| 113 | 
         
             
                css="footer {visibility: hidden}",
         
     | 
| 114 | 
         
            +
                theme="NoCrypt/miku@1.2.1",
         
     | 
| 115 | 
         
             
            )
         
     | 
| 116 | 
         
             
            demo.launch()
         
     |