educrpg commited on
Commit
bd1abb0
·
verified ·
1 Parent(s): 91dd7bf

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from git import Repo
2
+ import streamlit as st
3
+ import os
4
+
5
+ if os.path.exists('./educrpg'):
6
+ pass
7
+ else:
8
+ Repo.clone_from(st.secrets['GIT_URL'],'./educrpg')
9
+
10
+ from educrpg.gaidelite import gaidelite
11
+
12
+ gaidelite(st.secrets['QDRANT_API_KEY'], st.secrets['QDRANT_URL'], st.secrets['QDRANT_COLLECTION'], st.secrets['HUGGINGFACE_API_KEY'])