gaiding_light / app.py
educrpg's picture
Update app.py
a13e6ac
raw
history blame
315 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.gaide import gaide
gaide(st.secrets['OPENAI_API_KEY'], st.secrets['QDRANT_API_KEY'], st.secrets['QDRANT_URL'], st.secrets['QDRANT_COLLECTION'])