Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ st.title("Prem Chat UI")
|
|
| 8 |
|
| 9 |
if "api_key" not in st.session_state and "project_id" not in st.session_state:
|
| 10 |
api_key = st.text_input("Enter your API Key", type="password")
|
| 11 |
-
project_id = st.text_input("Enter your
|
| 12 |
if api_key and project_id:
|
| 13 |
st.session_state.api_key = api_key
|
| 14 |
st.session_state.project_id = int(project_id)
|
|
|
|
| 8 |
|
| 9 |
if "api_key" not in st.session_state and "project_id" not in st.session_state:
|
| 10 |
api_key = st.text_input("Enter your API Key", type="password")
|
| 11 |
+
project_id = st.text_input("Enter your Project ID")
|
| 12 |
if api_key and project_id:
|
| 13 |
st.session_state.api_key = api_key
|
| 14 |
st.session_state.project_id = int(project_id)
|