Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,7 @@ import gradio as gr
|
|
6 |
import openai
|
7 |
|
8 |
os.environ['OPENAI_API_KEY'] = os.environ["my_key"]
|
9 |
-
|
10 |
-
#os.environ["my_key"]
|
11 |
# rebuild storage context
|
12 |
storage_context = StorageContext.from_defaults(persist_dir="index_dir_full")
|
13 |
|
|
|
6 |
import openai
|
7 |
|
8 |
os.environ['OPENAI_API_KEY'] = os.environ["my_key"]
|
9 |
+
|
|
|
10 |
# rebuild storage context
|
11 |
storage_context = StorageContext.from_defaults(persist_dir="index_dir_full")
|
12 |
|