chelleboyer commited on
Commit
44c4536
·
1 Parent(s): fbe9ea3

Revert to PP_background.jpg with adjusted opacity

Browse files
Files changed (2) hide show
  1. .chainlit/config.toml +4 -3
  2. app.py +1 -1
.chainlit/config.toml CHANGED
@@ -113,11 +113,12 @@ cot = "full"
113
  generated_by = "2.5.5"
114
 
115
  [UI.theme]
116
- background_color = "#ffffff"
117
- primary_color = "#4f46e5"
118
  font_family = "Inter"
 
119
 
120
  [UI.chat]
121
  background_image = "assets/PP_backgound.jpg"
122
- background_image_opacity = 0.3
123
  chat_input_placeholder = "Upload an image to analyze your shelf layout..."
 
113
  generated_by = "2.5.5"
114
 
115
  [UI.theme]
116
+ background_color = "#f8fafc" # Light gray background
117
+ primary_color = "#4f46e5" # Indigo color
118
  font_family = "Inter"
119
+ chat_input_placeholder = "Upload an image to analyze your shelf layout..."
120
 
121
  [UI.chat]
122
  background_image = "assets/PP_backgound.jpg"
123
+ background_image_opacity = 0.2 # Slightly increased opacity for better visibility
124
  chat_input_placeholder = "Upload an image to analyze your shelf layout..."
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
  import os
6
  import logging
7
  from pathlib import Path
8
- from PIL import Image
9
  import io
10
  import torch
11
  from transformers import CLIPProcessor, CLIPModel
 
5
  import os
6
  import logging
7
  from pathlib import Path
8
+ from PIL import Image, ImageDraw
9
  import io
10
  import torch
11
  from transformers import CLIPProcessor, CLIPModel