NeuralFalcon commited on
Commit
6bea0cb
·
verified ·
1 Parent(s): 5e33d46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +37 -0
app.py CHANGED
@@ -78,6 +78,8 @@ def process_audio(audio_file, seconds=0.05):
78
  # return demo
79
 
80
 
 
 
81
  def ui():
82
  theme = gr.themes.Soft(
83
  font=[gr.themes.GoogleFont("Source Sans Pro"), "Arial", "sans-serif"]
@@ -125,6 +127,41 @@ def ui():
125
  </div>
126
  """)
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  with gr.Row():
129
  # LEFT: Inputs
130
  with gr.Column(scale=1):
 
78
  # return demo
79
 
80
 
81
+
82
+
83
  def ui():
84
  theme = gr.themes.Soft(
85
  font=[gr.themes.GoogleFont("Source Sans Pro"), "Arial", "sans-serif"]
 
127
  </div>
128
  """)
129
 
130
+
131
+ gr.HTML("""
132
+ <div style="
133
+ margin:20px auto;
134
+ padding:18px;
135
+ max-width:800px;
136
+ border-radius:14px;
137
+ background: linear-gradient(135deg, #2563eb, #1e40af);
138
+ color:white;
139
+ text-align:center;
140
+ box-shadow: 0 8px 20px rgba(0,0,0,0.15);
141
+ ">
142
+ <h2 style="margin:0 0 8px 0;">
143
+ 🎬 Need to Remove Silence from Videos?
144
+ </h2>
145
+ <p style="margin:0 0 12px 0; font-size:0.95em;">
146
+ Try our AI-powered Video Silence Remover — automatically trims silent parts from MP4 videos.
147
+ </p>
148
+ <a href="https://huggingface.co/spaces/NeuralFalcon/Remove-Silence-From-Video"
149
+ target="_blank"
150
+ style="
151
+ background:white;
152
+ color:#1e40af;
153
+ padding:10px 18px;
154
+ border-radius:8px;
155
+ text-decoration:none;
156
+ font-weight:600;
157
+ display:inline-block;
158
+ ">
159
+ 🚀 Try Remove Silence From Video
160
+ </a>
161
+ </div>
162
+ """)
163
+
164
+
165
  with gr.Row():
166
  # LEFT: Inputs
167
  with gr.Column(scale=1):