Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,11 +46,18 @@ def response_formatter(resp_list):
|
|
| 46 |
def main():
|
| 47 |
st.title("BetterZila RAG Enabled LLM")
|
| 48 |
|
| 49 |
-
# a sidebar taht titles a disclaimer and a description of the app
|
| 50 |
st.sidebar.title("About")
|
| 51 |
-
st.sidebar.info("This app is
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
response_list=[]
|
| 56 |
|
|
|
|
| 46 |
def main():
|
| 47 |
st.title("BetterZila RAG Enabled LLM")
|
| 48 |
|
|
|
|
| 49 |
st.sidebar.title("About")
|
| 50 |
+
st.sidebar.info("This app is for an assignment for BetterZila, RAG Enabled LLM that responds to a pre-defined book 48 Laws of Power by Robert Greene.")
|
| 51 |
+
st.sidebar.write(
|
| 52 |
+
"""
|
| 53 |
+
This Space uses the the Zephyr 7B Beta LLM from HuggingFace to answer questions from the book 48 Laws of Power by Robert Greene using RAG with a vectorstore database.
|
| 54 |
+
Embeddings used for the vectorstore is from the Instructor Base model from HuggingFace.
|
| 55 |
+
|
| 56 |
+
The generated responses are not perfect and are just for demonstration purposes since the model is a qunatized model used in inference mode.
|
| 57 |
+
This space is created by Pratik Dwivedi.
|
| 58 |
+
GitHub - Dekode1859
|
| 59 |
+
"""
|
| 60 |
+
)
|
| 61 |
|
| 62 |
response_list=[]
|
| 63 |
|