Spaces:
Running
Running
updated ui
Browse files- app.py +3 -0
- public/theme.json +0 -65
app.py
CHANGED
@@ -3,6 +3,9 @@ import logging
|
|
3 |
import os
|
4 |
from openai import AsyncOpenAI
|
5 |
from pinecone import Pinecone
|
|
|
|
|
|
|
6 |
|
7 |
PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
8 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
|
|
3 |
import os
|
4 |
from openai import AsyncOpenAI
|
5 |
from pinecone import Pinecone
|
6 |
+
from dotenv import load_dotenv
|
7 |
+
|
8 |
+
load_dotenv(override=True)
|
9 |
|
10 |
PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
11 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
public/theme.json
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"custom_fonts": [],
|
3 |
-
"variables": {
|
4 |
-
"light": {
|
5 |
-
"--background": "0 0% 0%",
|
6 |
-
"--foreground": "0 0% 100%",
|
7 |
-
"--card": "0 0% 0%",
|
8 |
-
"--card-foreground": "0 0% 100%",
|
9 |
-
"--popover": "0 0% 0%",
|
10 |
-
"--popover-foreground": "0 0% 100%",
|
11 |
-
"--primary": "0 0% 100%",
|
12 |
-
"--primary-foreground": "0 0% 0%",
|
13 |
-
"--secondary": "0 0% 100%",
|
14 |
-
"--secondary-foreground": "0 0% 0%",
|
15 |
-
"--muted": "0 0% 100%",
|
16 |
-
"--muted-foreground": "0 0% 0%",
|
17 |
-
"--accent": "0 0% 100%",
|
18 |
-
"--accent-foreground": "0 0% 0%",
|
19 |
-
"--destructive": "0 0% 100%",
|
20 |
-
"--destructive-foreground": "0 0% 0%",
|
21 |
-
"--border": "0 0% 100%",
|
22 |
-
"--input": "0 0% 7%",
|
23 |
-
"--ring": "0 0% 100%",
|
24 |
-
"--radius": "0.75rem",
|
25 |
-
"--sidebar-background": "0 0% 0%",
|
26 |
-
"--sidebar-foreground": "0 0% 100%",
|
27 |
-
"--sidebar-primary": "0 0% 100%",
|
28 |
-
"--sidebar-primary-foreground": "0 0% 0%",
|
29 |
-
"--sidebar-accent": "0 0% 100%",
|
30 |
-
"--sidebar-accent-foreground": "0 0% 0%",
|
31 |
-
"--sidebar-border": "0 0% 100%",
|
32 |
-
"--sidebar-ring": "0 0% 100%"
|
33 |
-
},
|
34 |
-
"dark": {
|
35 |
-
"--background": "0 0% 0%",
|
36 |
-
"--foreground": "0 0% 100%",
|
37 |
-
"--card": "0 0% 07%",
|
38 |
-
"--card-foreground": "0 0% 0%",
|
39 |
-
"--popover": "0 0% 100%",
|
40 |
-
"--popover-foreground": "0 0% 0%",
|
41 |
-
"--primary": "0, 0%, 50%",
|
42 |
-
"--primary-foreground": "0 0% 0%",
|
43 |
-
"--secondary": "0 0% 100%",
|
44 |
-
"--secondary-foreground": "0 0% 0%",
|
45 |
-
"--muted": "0 0% 100%",
|
46 |
-
"--muted-foreground": "0, 0%, 53%",
|
47 |
-
"--accent": "0, 0%, 7%",
|
48 |
-
"--accent-foreground": "0 0% 0%",
|
49 |
-
"--destructive": "0 0% 0%",
|
50 |
-
"--destructive-foreground": "0 0% 0%",
|
51 |
-
"--border": "0 0% 100%",
|
52 |
-
"--input": "0 0% 0%",
|
53 |
-
"--ring": "0 0% 0%",
|
54 |
-
"--radius": "0.75rem",
|
55 |
-
"--sidebar-background": "0 0% 0%",
|
56 |
-
"--sidebar-foreground": "0 0% 0%",
|
57 |
-
"--sidebar-primary": "0 0% 0%",
|
58 |
-
"--sidebar-primary-foreground": "0 0% 0%",
|
59 |
-
"--sidebar-accent": "0 0% 0%",
|
60 |
-
"--sidebar-accent-foreground": "0 0% 0%",
|
61 |
-
"--sidebar-border": "0 0% 0%",
|
62 |
-
"--sidebar-ring": "0 0% 0%"
|
63 |
-
}
|
64 |
-
}
|
65 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|