TejAndrewsACC commited on
Commit
8050b05
·
verified ·
1 Parent(s): 997ba8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -1
app.py CHANGED
@@ -206,7 +206,26 @@ theme = gr.themes.Soft(
206
  neutral_hue="indigo",
207
  )
208
 
209
- with gr.Blocks(theme=theme) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  chatbot = gr.Chatbot(label="Nyxion-7V", type="messages")
211
  msg = gr.Textbox(placeholder="Message Nyxion-7V...")
212
  user_id = gr.State()
 
206
  neutral_hue="indigo",
207
  )
208
 
209
+ # Adding custom CSS to change the text color to lighter purple
210
+ custom_css = """
211
+ .gradio-container {
212
+ color: #9B59B6; /* Lighter Purple Text Color */
213
+ }
214
+ .gradio-chatbot {
215
+ color: #9B59B6; /* Lighter Purple Text Color */
216
+ }
217
+ .gradio-textbox input {
218
+ color: #9B59B6; /* Lighter Purple Text Color */
219
+ }
220
+ .gradio-textbox textarea {
221
+ color: #9B59B6; /* Lighter Purple Text Color */
222
+ }
223
+ .gradio-button {
224
+ color: #9B59B6; /* Lighter Purple Text Color */
225
+ }
226
+ """
227
+
228
+ with gr.Blocks(theme=theme, css=custom_css) as demo:
229
  chatbot = gr.Chatbot(label="Nyxion-7V", type="messages")
230
  msg = gr.Textbox(placeholder="Message Nyxion-7V...")
231
  user_id = gr.State()