Spaces:
Runtime error
Runtime error
JoFrost
commited on
Commit
·
0162ea8
1
Parent(s):
e9cf484
chore: add back plotly
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import openai
|
|
| 3 |
import os
|
| 4 |
import pandas as pd
|
| 5 |
import gradio as gr
|
| 6 |
-
from llama_index import
|
| 7 |
from openai.embeddings_utils import get_embedding, cosine_similarity
|
| 8 |
|
| 9 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
| 3 |
import os
|
| 4 |
import pandas as pd
|
| 5 |
import gradio as gr
|
| 6 |
+
from llama_index import StorageContext, load_index_from_storage
|
| 7 |
from openai.embeddings_utils import get_embedding, cosine_similarity
|
| 8 |
|
| 9 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|