shashank-indukuri commited on
Commit
296ee2d
·
verified ·
1 Parent(s): 59be666

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -150,16 +150,16 @@ if __name__ == "__main__":
150
  me = Me()
151
 
152
  # Define a more user-friendly Gradio interface
153
- with gr.Blocks() as interface:
154
  # Add a header with a title and description
155
  with gr.Row():
156
  gr.Markdown(
157
  """
158
- <div style="text-align: center; padding: 20px; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: 15px; margin-bottom: 20px;">
159
- <h1 style="font-size: 2em; color: white; margin: 0; font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 2px;">
160
- Shashank Varma Indukuri
161
  </h1>
162
- <p style="font-size: 1.1em; color: #e0e0e0; margin: 10px 0 0 0; font-style: italic;">
163
  AI Engineer & Software Developer
164
  </p>
165
  </div>
@@ -173,7 +173,7 @@ if __name__ == "__main__":
173
  label="Chat with Shashank's Assistant",
174
  elem_id="chatbox",
175
  type="messages",
176
- height=500
177
  )
178
 
179
  # Add a textbox for user input (Enter key to send)
@@ -203,13 +203,12 @@ if __name__ == "__main__":
203
  with gr.Row():
204
  gr.Markdown(
205
  """
206
- <footer style="text-align: center; font-size: 0.9em; color: white; margin-top: 20px;">
207
- © 2025 Shashank Varma Indukuri. All rights reserved. | <a href="mailto:shashank.indukuri05@gmail.com" style="color: white;">Contact Me</a>
208
  </footer>
209
  """,
210
  elem_id="footer",
211
  )
212
 
213
  # Launch the interface
214
- interface.launch()
215
-
 
150
  me = Me()
151
 
152
  # Define a more user-friendly Gradio interface
153
+ with gr.Blocks(css=".chatbox { background-color: white; color: black; } .highlight-title { color: #fff; background: #222; padding: 0 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }") as interface:
154
  # Add a header with a title and description
155
  with gr.Row():
156
  gr.Markdown(
157
  """
158
+ <div style="text-align: center; padding: 20px; background: white; border-radius: 15px; margin-bottom: 20px; color: black;">
159
+ <h1 style="font-size: 2em; color: black; margin: 0; font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 2px;">
160
+ Welcome to <span class="highlight-title">Echo Me</span>
161
  </h1>
162
+ <p style="font-size: 1.1em; color: black; margin: 10px 0 0 0; font-style: italic;">
163
  AI Engineer & Software Developer
164
  </p>
165
  </div>
 
173
  label="Chat with Shashank's Assistant",
174
  elem_id="chatbox",
175
  type="messages",
176
+ height=500,
177
  )
178
 
179
  # Add a textbox for user input (Enter key to send)
 
203
  with gr.Row():
204
  gr.Markdown(
205
  """
206
+ <footer style="text-align: center; font-size: 0.9em; color: black; margin-top: 20px;">
207
+ © 2025 Shashank Varma Indukuri. All rights reserved. | <a href="mailto:shashank.indukuri05@gmail.com" style="color: black;">Contact Me</a>
208
  </footer>
209
  """,
210
  elem_id="footer",
211
  )
212
 
213
  # Launch the interface
214
+ interface.launch()