Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -10,7 +10,6 @@ from skimage.feature import graycomatrix, graycoprops, local_binary_pattern 
     | 
|
| 10 | 
         
             
            import timm
         
     | 
| 11 | 
         
             
            import gradio as gr
         
     | 
| 12 | 
         | 
| 13 | 
         
            -
            # [把你原来代码中的AttentionBlock和AdvancedFaceDetectionModel类定义放在这里]
         
     | 
| 14 | 
         
             
            class AttentionBlock(nn.Module):
         
     | 
| 15 | 
         
             
                def __init__(self, in_features):
         
     | 
| 16 | 
         
             
                    super(AttentionBlock, self).__init__()
         
     | 
| 
         | 
|
| 10 | 
         
             
            import timm
         
     | 
| 11 | 
         
             
            import gradio as gr
         
     | 
| 12 | 
         | 
| 
         | 
|
| 13 | 
         
             
            class AttentionBlock(nn.Module):
         
     | 
| 14 | 
         
             
                def __init__(self, in_features):
         
     | 
| 15 | 
         
             
                    super(AttentionBlock, self).__init__()
         
     |