Spaces:
Runtime error
Runtime error
Mehdi BESSAA
commited on
Commit
·
a0d26d2
1
Parent(s):
22e1186
fix: remove unused dependency
Browse files
app.py
CHANGED
|
@@ -1,12 +1,10 @@
|
|
| 1 |
import time
|
| 2 |
-
import uuid
|
| 3 |
import openai
|
| 4 |
import os
|
| 5 |
import pandas as pd
|
| 6 |
import numpy as np
|
| 7 |
import gradio as gr
|
| 8 |
from llama_index import GPTSimpleVectorIndex
|
| 9 |
-
from gpt_index.indices.struct_store.pandas import GPTPandasIndex
|
| 10 |
from openai.embeddings_utils import get_embedding, cosine_similarity
|
| 11 |
|
| 12 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
| 1 |
import time
|
|
|
|
| 2 |
import openai
|
| 3 |
import os
|
| 4 |
import pandas as pd
|
| 5 |
import numpy as np
|
| 6 |
import gradio as gr
|
| 7 |
from llama_index import GPTSimpleVectorIndex
|
|
|
|
| 8 |
from openai.embeddings_utils import get_embedding, cosine_similarity
|
| 9 |
|
| 10 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|