-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated requirements.txt for 5-min-rag-no-gpu * add style.css file for 5-min-rag-no-gpu * add Streamlit config folder for 5-min-rag-no-gpu * updated README.md for 5-min-rag-no-gpu * updated UI and certain deprecated models and functions in main.py for 5-min-rag-no-gpu
- Loading branch information
1 parent
2cfd448
commit 169abdd
Showing
5 changed files
with
197 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[client] | ||
showErrorDetails = false | ||
|
||
[theme] | ||
primaryColor = "#76b900" | ||
backgroundColor = "white" | ||
|
||
[browser] | ||
gatherUsageStats = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
streamlit==1.30.0 | ||
streamlit | ||
faiss-cpu==1.7.4 | ||
langchain==0.1.20 | ||
unstructured[all-docs]==0.11.2 | ||
langchain | ||
langchain-community | ||
langchain-core | ||
langchain-nvidia-ai-endpoints | ||
langchain-text-splitters | ||
nltk==3.8.1 | ||
numpy==1.23.5 | ||
onnx==1.16.1 | ||
onnxruntime==1.15.1 | ||
python-magic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* style.css */ | ||
|
||
/* custom footer */ | ||
.footer { | ||
text-align: center; | ||
color: #666; | ||
font-size: 14px; | ||
} | ||
|
||
/* NVIDIA green for headers */ | ||
h1, h2, h3, h4, h5 { | ||
color: #76b900; | ||
} | ||
|
||
|
||
/* add line when hovering over link */ | ||
.hover-link { | ||
text-decoration: none; | ||
color: inherit; | ||
position: relative; | ||
} | ||
|
||
.hover-link::after { | ||
content: ''; | ||
position: absolute; | ||
width: 100%; | ||
height: 1px; | ||
bottom: 0; | ||
left: 0; | ||
background-color: #000; | ||
transform: scaleX(0); | ||
transition: transform 0.3s ease-in-out; | ||
} | ||
|
||
.hover-link:hover::after { | ||
transform: scaleX(1); | ||
} | ||
|
||
/* Remove default formatting for links */ | ||
a { | ||
color: #666; | ||
text-decoration: none; | ||
} | ||
|
||
/* Remove streamlit bar */ | ||
header { | ||
visibility: hidden; | ||
} | ||
|
||
/* custom container */ | ||
|
||
.custom-image-container img { | ||
border-radius: 10px; | ||
} | ||
|
||
.custom-column-container { | ||
background-color: #f0f0f0; | ||
border-radius: 10px; | ||
padding: 20px; | ||
} | ||
|
||
.custom-column-container .stMarkdown { | ||
padding-right: 20px; | ||
} | ||
|
||
.streamlit-expanderHeader { | ||
background-color: white; | ||
color: #76b900; | ||
} | ||
.streamlit-expanderContent { | ||
background-color: white; | ||
color: black; | ||
} |