Vlad Bastina commited on
Commit
53a6b94
·
1 Parent(s): dae0265

style changes

Browse files
Files changed (2) hide show
  1. README.md +8 -39
  2. style.css +11 -12
README.md CHANGED
@@ -1,39 +1,8 @@
1
- # Sales agent for Zega Ai
2
- This project is a chatbot that answers questions based on a brochure of different projects that can be made by us
3
-
4
- ## Requirements
5
- Python 3.12
6
-
7
- ## How to setup
8
-
9
- 1. **Create environment and install dependencies**
10
- ```bash
11
- conda create -n sales python=3.12
12
- conda activate sales
13
- pip install -r requirements.txt
14
- ```
15
-
16
- 2. **Setup secrets for streamlit**
17
-
18
- Create a new file in the .streamlit folder named secrets.toml and put there your GOOGLE_API_KEY in the following format
19
-
20
- ```bash
21
- GOOGLE_API_KEY = 'your_key_here'
22
- ```
23
-
24
- ## How to run
25
-
26
- ```bash
27
- streamlit run app.py
28
- ```
29
-
30
- ## How it works
31
-
32
- **app.py** is responsible for reading the files and the overall ui interface using streamlit
33
- **query_chat.py** is responsible for the chat bot answers based on the read documents and the prompt
34
-
35
- ## Where to find it
36
-
37
- Path on **rtx** : /home/vladp/Projects/SalesChatBot/
38
-
39
- Env : sales
 
1
+ title: SalesChatBot
2
+ emoji: 💻
3
+ colorFrom: green
4
+ colorTo: green
5
+ sdk: streamlit
6
+ sdk_version: 1.44.1
7
+ app_file: app.py
8
+ pinned: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
style.css CHANGED
@@ -29,14 +29,17 @@ h4 {
29
 
30
  /* Butoane */
31
 
32
- button {
 
33
  font-weight: 600 !important;
34
  }
35
- button:hover {
 
36
  color: #FA6C03 !important;
37
  border-color: #FA6C03 !important;
38
  }
39
- button:focus {
 
40
  color: #fff !important;
41
  background-color: #FA6C03 !important;
42
  }
@@ -57,7 +60,8 @@ button:focus {
57
  }
58
 
59
  /* Select */
60
- .st-ae {
 
61
  font-family: inherit !important;
62
  }
63
 
@@ -67,11 +71,6 @@ button:focus {
67
  }
68
 
69
  /* Other fonts */
70
- p {
71
- font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
72
- }
73
-
74
-
75
- #root > div:nth-child(1) > div.withScreencast > div > div > section.stMain.st-emotion-cache-bm2z3a.eht7o1d1 > div.stMainBlockContainer.block-container.st-emotion-cache-mtjnbi.eht7o1d4 > div > div > div > div.stHorizontalBlock.st-emotion-cache-ocqkz7.e6rk8up0 > div.stColumn.st-emotion-cache-1s4qa0f.e6rk8up2 > div > div > div > div > div > button {
76
- float: right;
77
- }
 
29
 
30
  /* Butoane */
31
 
32
+ button,
33
+ .myButton {
34
  font-weight: 600 !important;
35
  }
36
+ button:hover,
37
+ .myButton:hover {
38
  color: #FA6C03 !important;
39
  border-color: #FA6C03 !important;
40
  }
41
+ button:focus,
42
+ .myButton:focus {
43
  color: #fff !important;
44
  background-color: #FA6C03 !important;
45
  }
 
60
  }
61
 
62
  /* Select */
63
+ .st-ae,
64
+ .st-az {
65
  font-family: inherit !important;
66
  }
67
 
 
71
  }
72
 
73
  /* Other fonts */
74
+ [class^="st-emotion-cache-"] {
75
+ font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
76
+ }