ClownRat commited on
Commit
c92a6b9
β€’
1 Parent(s): c17f8ec

Update plum color.

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -57,6 +57,22 @@ The service is a research preview intended for non-commercial use only, subject
57
  """)
58
 
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  class Chat:
61
  def __init__(self, model_path, conv_mode, model_base=None, load_8bit=False, load_4bit=False):
62
  # disable_torch_init()
@@ -209,7 +225,7 @@ handler = Chat(model_path, conv_mode=conv_mode, load_8bit=False, load_4bit=True)
209
 
210
  textbox = gr.Textbox(show_label=False, placeholder="Enter text and press ENTER", container=False)
211
 
212
- with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=gr.themes.Soft(primary_hue=gr.themes.colors.violet), css=block_css) as demo:
213
  gr.Markdown(title_markdown)
214
  state = gr.State()
215
  state_ = gr.State()
 
57
  """)
58
 
59
 
60
+ plum_color = gr.themes.colors.Color(
61
+ name='plum',
62
+ c50='#F8E4EF',
63
+ c100='#EDD2DF',
64
+ c200='#E4BFD2',
65
+ c300='#DBACC5',
66
+ c400='#D299B8',
67
+ c500='#C986AB',
68
+ c600='#C0739E',
69
+ c700='#B76091',
70
+ c800='#AE4D84',
71
+ c900='#A53A77',
72
+ c950='#9C276A',
73
+ )
74
+
75
+
76
  class Chat:
77
  def __init__(self, model_path, conv_mode, model_base=None, load_8bit=False, load_4bit=False):
78
  # disable_torch_init()
 
225
 
226
  textbox = gr.Textbox(show_label=False, placeholder="Enter text and press ENTER", container=False)
227
 
228
+ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=gr.themes.Soft(primary_hue=plum_color), css=block_css) as demo:
229
  gr.Markdown(title_markdown)
230
  state = gr.State()
231
  state_ = gr.State()