Spaces:
Runtime error
Runtime error
Commit
·
690feab
1
Parent(s):
781b338
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def run_enter_api_key():
|
|
227 |
with api_key_input.form(key='user_auth_api_key'):
|
228 |
api_key_input = st.text_input(label='Please enter your Gretel API Key', type='password')
|
229 |
st.caption("Don't have a Gretel Cloud account yet? [Sign up](https://gretel.ai/signup) for free now!")
|
230 |
-
submit_button = st.form_submit_button(label='Submit'
|
231 |
if submit_button:
|
232 |
r = requests.get(_GRETEL_USERINFO_ENDPOINT, headers={'authorization': api_key_input})
|
233 |
if r.status_code != 200:
|
|
|
227 |
with api_key_input.form(key='user_auth_api_key'):
|
228 |
api_key_input = st.text_input(label='Please enter your Gretel API Key', type='password')
|
229 |
st.caption("Don't have a Gretel Cloud account yet? [Sign up](https://gretel.ai/signup) for free now!")
|
230 |
+
submit_button = st.form_submit_button(label='Submit')
|
231 |
if submit_button:
|
232 |
r = requests.get(_GRETEL_USERINFO_ENDPOINT, headers={'authorization': api_key_input})
|
233 |
if r.status_code != 200:
|