Spaces:
Sleeping
Sleeping
Karthikeyan
commited on
Commit
•
e4bdb96
1
Parent(s):
5936628
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ import tempfile
|
|
14 |
import gradio as gr
|
15 |
import openai
|
16 |
|
17 |
-
|
|
|
18 |
|
19 |
def get_empty_state():
|
20 |
return {"knowledge_base": None}
|
|
|
14 |
import gradio as gr
|
15 |
import openai
|
16 |
|
17 |
+
openai_api_key = "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"
|
18 |
+
os.environ["OPENAI_API_KEY"] = openai_api_key
|
19 |
|
20 |
def get_empty_state():
|
21 |
return {"knowledge_base": None}
|