BryanBradfo commited on
Commit
6154477
·
1 Parent(s): d528517

logo added

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -99,10 +99,9 @@ def create_interface() -> gr.Blocks:
99
  - A Chatbot with user/bot icons
100
  - A ChatInterface that uses the chatbot
101
  - Custom example suggestions with special styling
102
- - Gemini-like gradient background and bubble styling
103
  """
104
 
105
- gemini_css = """
106
  :root {
107
  --gradient-start: #66AEEF; /* lighter top */
108
  --gradient-end: #F0F8FF; /* very light at bottom */
@@ -235,7 +234,7 @@ def create_interface() -> gr.Blocks:
235
  }
236
  """
237
 
238
- with gr.Blocks(css=gemini_css) as app:
239
  # A heading or custom markdown
240
  gr.Markdown(DESCRIPTION)
241
 
@@ -252,8 +251,8 @@ def create_interface() -> gr.Blocks:
252
  interface = gr.ChatInterface(
253
  fn=generate,
254
  chatbot=chatbot, # link the Chatbot to the ChatInterface
255
- css=gemini_css, # keep your custom CSS
256
- description="Gemini-themed Chatbot with user/bot icons",
257
  additional_inputs=[
258
  gr.Slider(
259
  label="Max new tokens",
 
99
  - A Chatbot with user/bot icons
100
  - A ChatInterface that uses the chatbot
101
  - Custom example suggestions with special styling
 
102
  """
103
 
104
+ gemma_css = """
105
  :root {
106
  --gradient-start: #66AEEF; /* lighter top */
107
  --gradient-end: #F0F8FF; /* very light at bottom */
 
234
  }
235
  """
236
 
237
+ with gr.Blocks(css=gemma_css) as app:
238
  # A heading or custom markdown
239
  gr.Markdown(DESCRIPTION)
240
 
 
251
  interface = gr.ChatInterface(
252
  fn=generate,
253
  chatbot=chatbot, # link the Chatbot to the ChatInterface
254
+ css=gemma_css, # keep your custom CSS
255
+ description="Gemma 2",
256
  additional_inputs=[
257
  gr.Slider(
258
  label="Max new tokens",