Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -209,9 +209,9 @@ class SearchAgentUI:
|
|
209 |
st.session_state.messages = []
|
210 |
|
211 |
st.session_state.api_keys = {
|
212 |
-
'
|
213 |
-
'
|
214 |
-
'
|
215 |
}
|
216 |
|
217 |
# Sidebar settings
|
@@ -222,9 +222,9 @@ class SearchAgentUI:
|
|
222 |
|
223 |
# API Key inputs with improved styling
|
224 |
for provider, label in [
|
225 |
-
('
|
226 |
-
('
|
227 |
-
('
|
228 |
]:
|
229 |
key = st.text_input(
|
230 |
label,
|
@@ -237,9 +237,9 @@ class SearchAgentUI:
|
|
237 |
|
238 |
# Provider-specific links
|
239 |
links = {
|
240 |
-
'
|
241 |
-
'
|
242 |
-
'
|
243 |
}
|
244 |
st.html(f'<small> 谞讬转谉 诇讛砖讬讙 诪驻转讞 <a href="{links[provider]}">讻讗谉</a> </small>')
|
245 |
|
|
|
209 |
st.session_state.messages = []
|
210 |
|
211 |
st.session_state.api_keys = {
|
212 |
+
'Gemimi': "",
|
213 |
+
'Claude': "",
|
214 |
+
'ChatGPT': ""
|
215 |
}
|
216 |
|
217 |
# Sidebar settings
|
|
|
222 |
|
223 |
# API Key inputs with improved styling
|
224 |
for provider, label in [
|
225 |
+
('Gemimi', 'Google API Key'),
|
226 |
+
('ChatGPT', 'OpenAI API Key'),
|
227 |
+
('Claude', 'Anthropic API Key')
|
228 |
]:
|
229 |
key = st.text_input(
|
230 |
label,
|
|
|
237 |
|
238 |
# Provider-specific links
|
239 |
links = {
|
240 |
+
'Gemimi': 'https://aistudio.google.com/app/apikey',
|
241 |
+
'ChatGPT': 'https://platform.openai.com/account/api-keys',
|
242 |
+
'Claude': 'https://console.anthropic.com/'
|
243 |
}
|
244 |
st.html(f'<small> 谞讬转谉 诇讛砖讬讙 诪驻转讞 <a href="{links[provider]}">讻讗谉</a> </small>')
|
245 |
|