Spaces:
Runtime error
Runtime error
gamingflexer
commited on
Commit
•
8079714
1
Parent(s):
289f685
Add new dependencies and environment variables
Browse files- requirements.txt +6 -1
- src/.env.example +5 -1
- src/config.py +7 -0
requirements.txt
CHANGED
@@ -7,4 +7,9 @@ pypdf2==3.0.1
|
|
7 |
tiktoken
|
8 |
langchain_openai
|
9 |
google-search-results
|
10 |
-
copyleaks
|
|
|
|
|
|
|
|
|
|
|
|
7 |
tiktoken
|
8 |
langchain_openai
|
9 |
google-search-results
|
10 |
+
copyleaks
|
11 |
+
playwright
|
12 |
+
beautifulsoup4
|
13 |
+
crewai
|
14 |
+
flask
|
15 |
+
supabase
|
src/.env.example
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
OPENAI_API_KEY=""
|
2 |
COPY_LEAKS_API=""
|
3 |
-
SERP_API_KEY=""
|
|
|
|
|
|
|
|
|
|
1 |
OPENAI_API_KEY=""
|
2 |
COPY_LEAKS_API=""
|
3 |
+
SERP_API_KEY=""
|
4 |
+
SUPABASE_KEY=""
|
5 |
+
SUPABASE_URL=""
|
6 |
+
COPY_LEAKS_EMAIL_ADDRESS=''
|
7 |
+
COPY_LEAKS_EMAIL_KEY=''
|
src/config.py
CHANGED
@@ -4,6 +4,13 @@ import os
|
|
4 |
OPENAI_API_KEY = config('OPENAI_API_KEY', default="")
|
5 |
SERP_API_KEY = config('SERP_API_KEY', default="")
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
dense_models = {
|
8 |
'text-embedding-ada-002': {
|
9 |
'source': 'openai',
|
|
|
4 |
OPENAI_API_KEY = config('OPENAI_API_KEY', default="")
|
5 |
SERP_API_KEY = config('SERP_API_KEY', default="")
|
6 |
|
7 |
+
SUPABASE_URL = config('SUPABASE_URL', default="")
|
8 |
+
SUPABASE_KEY = config('SUPABASE_KEY', default="")
|
9 |
+
|
10 |
+
COPY_LEAKS_EMAIL_ADDRESS = config('COPY_LEAKS_EMAIL_ADDRESS', default="")
|
11 |
+
COPY_LEAKS_EMAIL_KEY = config('COPY_LEAKS_EMAIL_KEY', default="")
|
12 |
+
WEBHOOK_SECRET = config('WEBHOOK_SECRET', default="*asd9s")
|
13 |
+
|
14 |
dense_models = {
|
15 |
'text-embedding-ada-002': {
|
16 |
'source': 'openai',
|