DataRaptor commited on
Commit
11433ab
·
1 Parent(s): 3892eae

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +34 -0
  2. photo.jpg +0 -0
  3. requirements.txt +11 -0
app.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from git import Repo
3
+ import os
4
+
5
+ st.set_page_config(
6
+ page_title="CognitoAI",
7
+ page_icon="🧊",
8
+ layout="wide",
9
+ initial_sidebar_state="expanded",
10
+ )
11
+
12
+ hide_st_style = """
13
+ <style>
14
+ MainMenu {visibility: hidden;}
15
+ footer {visibility: hidden;}
16
+ header {visibility: hidden;}
17
+ img {
18
+ border-radius: 1000px !important;
19
+ }
20
+ </style>
21
+ """
22
+ st.markdown(hide_st_style, unsafe_allow_html=True)
23
+
24
+
25
+
26
+ if not os.path.exists('./ConversationalAI'):
27
+ gitsecret = st.secrets["git_secret"]
28
+ Repo.clone_from(f"https://DataRaptor:{gitsecret}@github.com/DataRaptor/ConversationalAI.git", './ConversationalAI')
29
+
30
+
31
+ from ConversationalAI import app_viewport
32
+ app_viewport()
33
+
34
+
photo.jpg ADDED
requirements.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ gtts
3
+ mutagen
4
+ base64
5
+ openai
6
+ streamlit==1.21.0
7
+ Pillow
8
+ numpy
9
+
10
+
11
+