revert ui
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -5,8 +5,7 @@ import gradio as gr 
     | 
|
| 5 | 
         
             
            import torch
         
     | 
| 6 | 
         | 
| 7 | 
         | 
| 8 | 
         
            -
            DEVICE = 'cpu' 
         
     | 
| 9 | 
         
            -
            # DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
         
     | 
| 10 | 
         
             
            DEBUG_UI = False
         
     | 
| 11 | 
         
             
            LANGS = {
         
     | 
| 12 | 
         
             
                'English': 'eng_Latn',
         
     | 
| 
         | 
|
| 5 | 
         
             
            import torch
         
     | 
| 6 | 
         | 
| 7 | 
         | 
| 8 | 
         
            +
            DEVICE = 'cpu' # 'cuda' if torch.cuda.is_available() else 'cpu'
         
     | 
| 
         | 
|
| 9 | 
         
             
            DEBUG_UI = False
         
     | 
| 10 | 
         
             
            LANGS = {
         
     | 
| 11 | 
         
             
                'English': 'eng_Latn',
         
     |