Spaces:
Runtime error
Runtime error
Update Main.py
Browse files
Main.py
CHANGED
@@ -11,7 +11,7 @@ def app():
|
|
11 |
|
12 |
# Creating an object of prediction service
|
13 |
pred = GeneralModel()
|
14 |
-
api_key = st.sidebar.text_input("APIkey
|
15 |
# Using the streamlit cache
|
16 |
@st.cache
|
17 |
def eval(fenstring):
|
@@ -42,7 +42,7 @@ def app():
|
|
42 |
if api_key:
|
43 |
|
44 |
# Setting up the Title
|
45 |
-
st.title("Stockfish fen eval to GPT-3 top move explination coach
|
46 |
|
47 |
# st.write("---")
|
48 |
|
|
|
11 |
|
12 |
# Creating an object of prediction service
|
13 |
pred = GeneralModel()
|
14 |
+
api_key = st.sidebar.text_input("APIkey get it here https://beta.openai.com/account/api-keys", type="password")
|
15 |
# Using the streamlit cache
|
16 |
@st.cache
|
17 |
def eval(fenstring):
|
|
|
42 |
if api_key:
|
43 |
|
44 |
# Setting up the Title
|
45 |
+
st.title("Stockfish fen eval to GPT-3 top move explination chess coach")
|
46 |
|
47 |
# st.write("---")
|
48 |
|