Spaces:
Runtime error
Runtime error
smaller faiss db
Browse files
.github/workflows/sync_to_huggingface_space.yml
CHANGED
|
@@ -17,4 +17,4 @@ jobs:
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_SPACES_TOKEN }}
|
| 20 |
-
run: git push
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_SPACES_TOKEN }}
|
| 20 |
+
run: git push https://ravi259:$HF_TOKEN@huggingface.co/spaces/ravi259/baserag_hf main
|
app.py
CHANGED
|
@@ -142,6 +142,7 @@ def main():
|
|
| 142 |
#st.session_state.conversation = get_conversation_chain(vector_store)
|
| 143 |
response=rag_chain.invoke(question)
|
| 144 |
st.write(response)
|
|
|
|
| 145 |
|
| 146 |
if __name__ == '__main__':
|
| 147 |
main()
|
|
|
|
| 142 |
#st.session_state.conversation = get_conversation_chain(vector_store)
|
| 143 |
response=rag_chain.invoke(question)
|
| 144 |
st.write(response)
|
| 145 |
+
st.write(searchDocs)
|
| 146 |
|
| 147 |
if __name__ == '__main__':
|
| 148 |
main()
|