Spaces:
Runtime error
Runtime error
Commit
·
6137438
1
Parent(s):
8ea521f
fix docstrings
Browse files- utils/ui.py +6 -6
utils/ui.py
CHANGED
|
@@ -74,11 +74,11 @@ def right_sidebar():
|
|
| 74 |
def left_sidebar():
|
| 75 |
with st.sidebar:
|
| 76 |
image = Image.open('logo/haystack-logo-colored.png')
|
| 77 |
-
st.markdown("
|
| 78 |
-
"This is an effort
|
| 79 |
-
"with
|
| 80 |
-
"
|
| 81 |
-
"
|
| 82 |
|
| 83 |
# st.markdown(
|
| 84 |
# "## How to use\n"
|
|
@@ -104,7 +104,7 @@ def left_sidebar():
|
|
| 104 |
"This app was built with [Haystack](https://haystack.deepset.ai) using the"
|
| 105 |
" [`PromptNode`](https://docs.haystack.deepset.ai/docs/prompt_node), "
|
| 106 |
"[`Retriever`](https://docs.haystack.deepset.ai/docs/retriever#embedding-retrieval-recommended),"
|
| 107 |
-
"and [`FAISSDocumentStore`](https://docs.haystack.deepset.ai/reference/document-store-api#faissdocumentstore)
|
| 108 |
" You can find the source code in **Files and versions** tab."
|
| 109 |
)
|
| 110 |
|
|
|
|
| 74 |
def left_sidebar():
|
| 75 |
with st.sidebar:
|
| 76 |
image = Image.open('logo/haystack-logo-colored.png')
|
| 77 |
+
st.markdown("Thanks for coming to this :hugging_face: space. \n\n"
|
| 78 |
+
"This is an effort towards showcasing how you can use Haystack for Retrieval Augmented QA, "
|
| 79 |
+
"with local document store and a WebRetriever (coming soon!). \n\n"
|
| 80 |
+
"More information on how this was built and instructions along "
|
| 81 |
+
"with a repository will be published soon and updated here.")
|
| 82 |
|
| 83 |
# st.markdown(
|
| 84 |
# "## How to use\n"
|
|
|
|
| 104 |
"This app was built with [Haystack](https://haystack.deepset.ai) using the"
|
| 105 |
" [`PromptNode`](https://docs.haystack.deepset.ai/docs/prompt_node), "
|
| 106 |
"[`Retriever`](https://docs.haystack.deepset.ai/docs/retriever#embedding-retrieval-recommended),"
|
| 107 |
+
"and [`FAISSDocumentStore`](https://docs.haystack.deepset.ai/reference/document-store-api#faissdocumentstore).\n\n"
|
| 108 |
" You can find the source code in **Files and versions** tab."
|
| 109 |
)
|
| 110 |
|