Spaces:
Build error
Build error
niro commited on
Commit ·
e65ea00
1
Parent(s): a3e38ff
asdf
Browse files
main.py
CHANGED
|
@@ -25,9 +25,12 @@ openai_api_key = openai_api_key_head+openai_api_key_tail
|
|
| 25 |
# openai_api_key = st.secrets.openai_api_key_head+st.secrets.openai_api_key_tail
|
| 26 |
|
| 27 |
# anthropic_api_key = st.secrets.anthropic_api_key
|
|
|
|
|
|
|
| 28 |
anthropic_api_key = ''
|
| 29 |
supabase: Client = create_client(supabase_url, supabase_key)
|
| 30 |
# self_hosted = st.secrets.self_hosted
|
|
|
|
| 31 |
self_hosted = "true"
|
| 32 |
|
| 33 |
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
|
|
|
|
| 25 |
# openai_api_key = st.secrets.openai_api_key_head+st.secrets.openai_api_key_tail
|
| 26 |
|
| 27 |
# anthropic_api_key = st.secrets.anthropic_api_key
|
| 28 |
+
st.secrets.anthropic_api_key = ""
|
| 29 |
+
st.secrets.usage_limit = 1000
|
| 30 |
anthropic_api_key = ''
|
| 31 |
supabase: Client = create_client(supabase_url, supabase_key)
|
| 32 |
# self_hosted = st.secrets.self_hosted
|
| 33 |
+
st.secrets.self_hosted = "true"
|
| 34 |
self_hosted = "true"
|
| 35 |
|
| 36 |
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
|