Spaces:
Runtime error
Runtime error
camphong24032002
commited on
Commit
·
244e784
1
Parent(s):
6353d64
Justify layout
Browse files- app.py +2 -0
- static/css/style.css +4 -3
app.py
CHANGED
|
@@ -18,9 +18,11 @@ def text_preprocessing(text):
|
|
| 18 |
|
| 19 |
return ' '.join(keywords)
|
| 20 |
|
|
|
|
| 21 |
def concat_content(title, value):
|
| 22 |
return f"{title}: {value}"
|
| 23 |
|
|
|
|
| 24 |
def df_to_text(df):
|
| 25 |
text = []
|
| 26 |
titles = ["Product ID", "Product Name", "Gender", "Price (INR)", "Primary Color"]
|
|
|
|
| 18 |
|
| 19 |
return ' '.join(keywords)
|
| 20 |
|
| 21 |
+
|
| 22 |
def concat_content(title, value):
|
| 23 |
return f"{title}: {value}"
|
| 24 |
|
| 25 |
+
|
| 26 |
def df_to_text(df):
|
| 27 |
text = []
|
| 28 |
titles = ["Product ID", "Product Name", "Gender", "Price (INR)", "Primary Color"]
|
static/css/style.css
CHANGED
|
@@ -10,8 +10,8 @@
|
|
| 10 |
.chat_window {
|
| 11 |
position: absolute;
|
| 12 |
width: calc(100% - 20px);
|
| 13 |
-
max-width:
|
| 14 |
-
height:
|
| 15 |
border-radius: 10px;
|
| 16 |
background-color: #fff;
|
| 17 |
left: 50%;
|
|
@@ -60,8 +60,9 @@
|
|
| 60 |
list-style: none;
|
| 61 |
padding: 20px 10px 0 10px;
|
| 62 |
margin: 0;
|
| 63 |
-
height:
|
| 64 |
overflow: scroll;
|
|
|
|
| 65 |
}
|
| 66 |
.messages .message {
|
| 67 |
clear: both;
|
|
|
|
| 10 |
.chat_window {
|
| 11 |
position: absolute;
|
| 12 |
width: calc(100% - 20px);
|
| 13 |
+
max-width: 80%;
|
| 14 |
+
height: 80%;
|
| 15 |
border-radius: 10px;
|
| 16 |
background-color: #fff;
|
| 17 |
left: 50%;
|
|
|
|
| 60 |
list-style: none;
|
| 61 |
padding: 20px 10px 0 10px;
|
| 62 |
margin: 0;
|
| 63 |
+
height: 80%;
|
| 64 |
overflow: scroll;
|
| 65 |
+
z-index: 999;
|
| 66 |
}
|
| 67 |
.messages .message {
|
| 68 |
clear: both;
|