Shiwanni04 commited on
Commit
d5fd7a2
·
verified ·
1 Parent(s): c8f3888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -4
app.py CHANGED
@@ -148,10 +148,25 @@ custom_css = """
148
  .header {
149
  text-align: center;
150
  margin-bottom: 25px;
 
 
 
 
 
 
 
 
 
151
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
152
  -webkit-background-clip: text;
153
  -webkit-text-fill-color: transparent;
154
- padding: 10px;
 
 
 
 
 
 
155
  }
156
 
157
  .upload-area {
@@ -229,9 +244,10 @@ custom_css = """
229
 
230
  with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
231
  with gr.Column(elem_id="main-container"):
 
232
  with gr.Column(elem_classes=["header"]):
233
- gr.Markdown("# 🛡️ DeepGuard AI")
234
- gr.Markdown("## Advanced Deepfake Detection System")
235
 
236
  with gr.Row():
237
  with gr.Column(scale=1.5):
@@ -294,4 +310,4 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
294
  )
295
 
296
  if __name__ == "__main__":
297
- demo.launch()
 
148
  .header {
149
  text-align: center;
150
  margin-bottom: 25px;
151
+ padding: 20px;
152
+ background: white;
153
+ border-radius: 12px;
154
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
155
+ }
156
+
157
+ .header-title {
158
+ font-size: 2.5em !important;
159
+ margin-bottom: 0.2em !important;
160
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
161
  -webkit-background-clip: text;
162
  -webkit-text-fill-color: transparent;
163
+ display: inline-block;
164
+ }
165
+
166
+ .header-subtitle {
167
+ font-size: 1.1em !important;
168
+ color: #555 !important;
169
+ margin-top: 0 !important;
170
  }
171
 
172
  .upload-area {
 
244
 
245
  with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
246
  with gr.Column(elem_id="main-container"):
247
+ # Enhanced Header Section
248
  with gr.Column(elem_classes=["header"]):
249
+ gr.Markdown("""<h1 class="header-title">🛡️ DeepGuard AI</h1>""")
250
+ gr.Markdown("""<p class="header-subtitle">Advanced Deepfake & AI-Generated Content Detection System</p>""")
251
 
252
  with gr.Row():
253
  with gr.Column(scale=1.5):
 
310
  )
311
 
312
  if __name__ == "__main__":
313
+ demo.launch()