Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -276,12 +276,12 @@ def main():
|
|
| 276 |
|
| 277 |
# 現在のAPIキー状態を表示
|
| 278 |
if st.session_state.current_api_key:
|
| 279 |
-
st.success("
|
| 280 |
# APIキーの一部を表示(セキュリティのため)
|
| 281 |
masked_key = st.session_state.current_api_key[:7] + "..." + st.session_state.current_api_key[-4:]
|
| 282 |
st.caption(f"現在のキー: {masked_key}")
|
| 283 |
else:
|
| 284 |
-
st.info("
|
| 285 |
|
| 286 |
# APIキー入力フォーム
|
| 287 |
with st.form("api_key_form"):
|
|
|
|
| 276 |
|
| 277 |
# 現在のAPIキー状態を表示
|
| 278 |
if st.session_state.current_api_key:
|
| 279 |
+
st.success("APIキー設定済み")
|
| 280 |
# APIキーの一部を表示(セキュリティのため)
|
| 281 |
masked_key = st.session_state.current_api_key[:7] + "..." + st.session_state.current_api_key[-4:]
|
| 282 |
st.caption(f"現在のキー: {masked_key}")
|
| 283 |
else:
|
| 284 |
+
st.info("APIキーを入力してください")
|
| 285 |
|
| 286 |
# APIキー入力フォーム
|
| 287 |
with st.form("api_key_form"):
|