Komal-patra commited on
Commit
3a93256
·
verified ·
1 Parent(s): 0305332
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -32,19 +32,20 @@ def generate_text(prompt, max_length=150):
32
  return generated_text
33
 
34
  # Custom CSS for the UI
35
- background_image_path = 'https://www.shlegal-technology.com/sites/default/files/insight/ExploringTheLegislativeBackgroundBANNER.jpg'
36
  custom_css = f"""
37
  .message.pending {{
38
- background: #A8C4D6;
39
  }}
40
  /* Response message */
41
  .message.bot.svelte-1s78gfg.message-bubble-border {{
42
- border-color: #266B99;
 
43
  }}
44
  /* User message */
45
  .message.user.svelte-1s78gfg.message-bubble-border {{
46
- background: #9DDDF9;
47
- border-color: #9DDDF9;
48
  }}
49
  /* For both user and response message as per the document */
50
  span.md.svelte-8tpqd2.chatbot.prose p {{
 
32
  return generated_text
33
 
34
  # Custom CSS for the UI
35
+ background_image_path = '/mnt/data/image.png'
36
  custom_css = f"""
37
  .message.pending {{
38
+ background: rgba(168, 196, 214, 0.5);
39
  }}
40
  /* Response message */
41
  .message.bot.svelte-1s78gfg.message-bubble-border {{
42
+ border-color: rgba(38, 107, 153, 0.5);
43
+ background: rgba(255, 255, 255, 0.1);
44
  }}
45
  /* User message */
46
  .message.user.svelte-1s78gfg.message-bubble-border {{
47
+ background: rgba(157, 221, 249, 0.5);
48
+ border-color: rgba(157, 221, 249, 0.5);
49
  }}
50
  /* For both user and response message as per the document */
51
  span.md.svelte-8tpqd2.chatbot.prose p {{