Aishu-7 commited on
Commit
4c89e39
·
verified ·
1 Parent(s): bb6135e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -103,6 +103,12 @@ def respond(message, history):
103
 
104
  return response.choices[0].message.content.strip()
105
 
 
 
 
 
 
 
106
  with gr.Blocks(theme=gr.themes.Ocean()) as demo:
107
  chatbot = gr.ChatInterface(
108
  fn = respond,
@@ -114,7 +120,7 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
114
  )
115
 
116
 
117
- ddemo.launch(theme = gr.themes.Default(primary_hue = "blue", secondary_hue = "yellow"))
118
 
119
 
120
 
 
103
 
104
  return response.choices[0].message.content.strip()
105
 
106
+ my_theme = gr.themes.Ocean().set(
107
+ background_fill_primary="#1a202c", # Main background color (e.g., Dark mode)
108
+ background_fill_secondary="#2d3748", # Sidebar/secondary area background
109
+ body_background_fill="#1a202c" # Outer body background
110
+ )
111
+
112
  with gr.Blocks(theme=gr.themes.Ocean()) as demo:
113
  chatbot = gr.ChatInterface(
114
  fn = respond,
 
120
  )
121
 
122
 
123
+ demo.launch())
124
 
125
 
126