Spaces:
Sleeping
Sleeping
Commit
·
11ab0d7
1
Parent(s):
3fec9c8
Update app.py
Browse files
app.py
CHANGED
@@ -4,18 +4,12 @@ import openai
|
|
4 |
import streamlit as st
|
5 |
|
6 |
GITHUB_REPO_URL = os.environ.get("GITHUB_REPO_URL")
|
7 |
-
# [email protected]:coffeebeansdev/AI_Interviewer.git
|
8 |
|
9 |
if not os.path.exists('repo_directory'):
|
10 |
Repo.clone_from(GITHUB_REPO_URL, 'repo_directory')
|
11 |
|
12 |
|
13 |
-
print(os.system('ls -l repo_directory/')) # testing purpose
|
14 |
-
# print(os.system('ls -l repo_directory/hugging_spaces')) # testing purpose
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
# from repo_directory.network18.app import main
|
19 |
if "openai_key" not in st.session_state:
|
20 |
with st.form("API key"):
|
21 |
key = st.text_input("OpenAI Key", value="", type="password")
|
|
|
4 |
import streamlit as st
|
5 |
|
6 |
GITHUB_REPO_URL = os.environ.get("GITHUB_REPO_URL")
|
|
|
7 |
|
8 |
if not os.path.exists('repo_directory'):
|
9 |
Repo.clone_from(GITHUB_REPO_URL, 'repo_directory')
|
10 |
|
11 |
|
|
|
|
|
12 |
|
|
|
|
|
|
|
13 |
if "openai_key" not in st.session_state:
|
14 |
with st.form("API key"):
|
15 |
key = st.text_input("OpenAI Key", value="", type="password")
|