pratyushmaini commited on
Commit
72c3fa0
·
1 Parent(s): 6cac78c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -18
app.py CHANGED
@@ -126,18 +126,17 @@ button:hover, .gradio-button:hover {
126
 
127
  with gr.Blocks(css=css) as demo:
128
  # Custom header with branding
129
- with gr.HTML():
130
- gr.HTML("""
131
- <div class="app-header">
132
- <h1 class="app-title">
133
- <span class="shield">🔒</span>
134
- <span class="safe">Safe</span>
135
- <span class="lm">Playground</span>
136
- </h1>
137
- <p class="app-subtitle">Responsible AI for everyone</p>
138
- </div>
139
- <hr class="golden-accent">
140
- """)
141
 
142
  with gr.Row():
143
  # Left sidebar: Model selector
@@ -195,12 +194,11 @@ with gr.Blocks(css=css) as demo:
195
  clear_button = gr.Button("Clear Chat")
196
 
197
  # Footer with branding
198
- with gr.HTML():
199
- gr.HTML("""
200
- <div class="footer">
201
- <p>Safe Playground™ | Responsible AI Technology | © 2025</p>
202
- </div>
203
- """)
204
 
205
  # Fix 1: Correct event handling for the chatbot interface
206
  def user(user_message, history):
 
126
 
127
  with gr.Blocks(css=css) as demo:
128
  # Custom header with branding
129
+ gr.HTML("""
130
+ <div class="app-header">
131
+ <h1 class="app-title">
132
+ <span class="shield">🔒</span>
133
+ <span class="safe">Safe</span>
134
+ <span class="lm">Playground</span>
135
+ </h1>
136
+ <p class="app-subtitle">Responsible AI for everyone</p>
137
+ </div>
138
+ <hr class="golden-accent">
139
+ """)
 
140
 
141
  with gr.Row():
142
  # Left sidebar: Model selector
 
194
  clear_button = gr.Button("Clear Chat")
195
 
196
  # Footer with branding
197
+ gr.HTML("""
198
+ <div class="footer">
199
+ <p>Safe Playground™ | Responsible AI Technology | © 2025</p>
200
+ </div>
201
+ """)
 
202
 
203
  # Fix 1: Correct event handling for the chatbot interface
204
  def user(user_message, history):