Spaces:
Runtime error
Runtime error
abhi001vj
commited on
Commit
·
72f7ec4
1
Parent(s):
e2e0e89
fixed the app
Browse files- app.py +0 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -172,4 +172,3 @@ if st.session_state.results:
|
|
172 |
markdown(f'**Source:** {source} \n {context[:start_idx] } {str(annotation(answer, "ANSWER", "#8ef"))} {context[end_idx:]} \n '),
|
173 |
unsafe_allow_html=True,
|
174 |
)
|
175 |
-
st.markdown(f"**Relevance:** {result['relevance']} - **Source:** {source}")
|
|
|
172 |
markdown(f'**Source:** {source} \n {context[:start_idx] } {str(annotation(answer, "ANSWER", "#8ef"))} {context[end_idx:]} \n '),
|
173 |
unsafe_allow_html=True,
|
174 |
)
|
|
requirements.txt
CHANGED
@@ -3,4 +3,5 @@ streamlit==1.13
|
|
3 |
st-annotated-text
|
4 |
farm-haystack[pinecone]
|
5 |
pinecone-client
|
6 |
-
datasets
|
|
|
|
3 |
st-annotated-text
|
4 |
farm-haystack[pinecone]
|
5 |
pinecone-client
|
6 |
+
datasets
|
7 |
+
tensorboard
|