danhtran2mind commited on
Commit
61cb34b
·
verified ·
1 Parent(s): b4f6309

Update apps/gradio_app/components.py

Browse files
Files changed (1) hide show
  1. apps/gradio_app/components.py +0 -54
apps/gradio_app/components.py CHANGED
@@ -40,57 +40,3 @@ def list_edgeface_files():
40
  return ["Directory ckpts/idiap/ not found"]
41
  except Exception as e:
42
  return [f"Error listing files: {str(e)}"]
43
-
44
- CONTENT_DESCRIPTION = """
45
- **SlimFace: Advanced Face Classification with TorchVision Backbones**
46
- """
47
-
48
- CONTENT_IN_1 = """
49
- SlimFace empowers developers to build high-accuracy face classification models by leveraging TorchVision's powerful pre-trained architectures through a transfer learning approach. 🌟 It provides a flexible, efficient, and scalable solution for facial recognition, supporting training on custom datasets and inference to deliver top-tier performance for custom applications.
50
- """
51
- CONTENT_IN_2 = """
52
- <p class="source">
53
- For more information, you can follow below:<br>
54
- Source code:
55
- <a class="badge" href="https://github.com/danhtran2mind/SlimFace">
56
- <img src="https://img.shields.io/badge/GitHub-danhtran2mind%2FSlimFace-blue?style=flat" alt="GitHub Repo">
57
- </a>,
58
- Author:
59
- <a class="badge" href="https://github.com/danhtran2mind">
60
- <img src="https://img.shields.io/badge/GitHub-danhtran2mind-blue?style=flat" alt="GitHub Profile">
61
- </a>,
62
- PyTorch Docs:
63
- <a class="badge" href="https://docs.pytorch.org/vision/main/models.html">
64
- <img src="https://img.shields.io/badge/PyTorch-Pretrain%20Model%20Docs-blue?style=flat" alt="PyTorch Docs">
65
- </a>
66
- </p>
67
- """
68
-
69
-
70
- CONTENT_OUTTRO = """
71
- ## More Information about SlimFace
72
- """
73
- CONTENT_OUT_1 = """
74
- <div class="quote-container">
75
- <p>
76
- This project leverages code from
77
- <a class="badge" href="https://github.com/otroshi/edgeface">
78
- <img src="https://img.shields.io/badge/Built%20on-otroshi%2Fedgeface-blue?style=flat&logo=github" alt="Built on edgeface">
79
- </a>
80
- by
81
- <a class="badge" href="https://github.com/otroshi">
82
- <img src="https://img.shields.io/badge/GitHub-Hatef_Otroshi-blue?style=flat&logo=github" alt="Hatef Otroshi">
83
- </a>,
84
- with our own bug fixes and enhancements available at
85
- <a class="badge" href="https://github.com/danhtran2mind/edgeface/tree/main/face_alignment">
86
- <img src="https://img.shields.io/badge/GitHub-danhtran2mind%2Fedgeface-blue?style=flat&logo=github" alt="Edgeface Enhancements">
87
- </a>.
88
- </p>
89
- </div>
90
- """
91
- CONTENT_OUT_2 = """
92
- **Supported Architectures:**
93
- - **EfficientNet**: B0-B7 and V2 (Small, Medium, Large) for balanced performance and efficiency. 📸
94
- - **RegNet**: X/Y series (400MF to 128GF) for optimized computation across diverse hardware. 💻
95
- - **Vision Transformers (ViT)**: B_16, B_32, H_14, L_16, L_32 for cutting-edge feature extraction. 🚀
96
- """
 
40
  return ["Directory ckpts/idiap/ not found"]
41
  except Exception as e:
42
  return [f"Error listing files: {str(e)}"]