Spaces:
Build error
Build error
niro commited on
Commit ·
f65c5ff
1
Parent(s): e29d8c2
Asdf
Browse files
main.py
CHANGED
|
@@ -16,13 +16,16 @@ from stats import get_usage_today
|
|
| 16 |
supabase_url = 'https://ktexmliefragugupzmqw.supabase.co'
|
| 17 |
|
| 18 |
# supabase_key = st.secrets.supabase_service_key
|
| 19 |
-
|
| 20 |
|
| 21 |
# openai_api_key = st.secrets.openai_api_key
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
anthropic_api_key = st.secrets.anthropic_api_key
|
| 26 |
supabase: Client = create_client(supabase_url, supabase_key)
|
| 27 |
self_hosted = st.secrets.self_hosted
|
| 28 |
|
|
|
|
| 16 |
supabase_url = 'https://ktexmliefragugupzmqw.supabase.co'
|
| 17 |
|
| 18 |
# supabase_key = st.secrets.supabase_service_key
|
| 19 |
+
supabase_key = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imt0ZXhtbGllZnJhZ3VndXB6bXF3Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODUyNjg1MjcsImV4cCI6MjAwMDg0NDUyN30.7DBDCcqelS0GNojPqv0zuvCT5vs5x2Codxyr5cDPZvU'
|
| 20 |
|
| 21 |
# openai_api_key = st.secrets.openai_api_key
|
| 22 |
+
openai_api_key_head = 'sk-9utMl6JfUfgm4lRIXmK'
|
| 23 |
+
openai_api_key_tail = 'bT3BlbkFJBvNXhwDz9WJrzmi5G6FP'
|
| 24 |
+
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 |
|