gaiding_lite / app.py
educrpg's picture
Update app.py
3b93c5d verified
raw
history blame
332 Bytes
from git import Repo
import streamlit as st
import os
if os.path.exists('./educrpg'):
pass
else:
Repo.clone_from(st.secrets['GIT_URL'],'./educrpg')
from educrpg.gaidelite import gaidelite
gaidelite(st.secrets['QDRANT_API_KEY'], st.secrets['QDRANT_URL'], st.secrets['QDRANT_COLLECTION'], st.secrets['HUGGINGFACE_API_KEY'])