Spaces:
Runtime error
Runtime error
Commit
·
8bc955b
1
Parent(s):
8f568b8
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from gpt_index import GPTSimpleVectorIndex
|
|
| 3 |
from gpt_index.langchain_helpers.chain_wrapper import OpenAI
|
| 4 |
import os
|
| 5 |
|
| 6 |
-
os.environ["OPENAI_API_KEY"] = "sk-
|
| 7 |
index = GPTSimpleVectorIndex.load_from_disk('./index (4).json')
|
| 8 |
|
| 9 |
def my_model_function(input_text):
|
|
|
|
| 3 |
from gpt_index.langchain_helpers.chain_wrapper import OpenAI
|
| 4 |
import os
|
| 5 |
|
| 6 |
+
os.environ["OPENAI_API_KEY"] = "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"
|
| 7 |
index = GPTSimpleVectorIndex.load_from_disk('./index (4).json')
|
| 8 |
|
| 9 |
def my_model_function(input_text):
|