Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ EMBEDDING_MODEL = "text-embedding-ada-002"
|
|
11 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
12 |
|
13 |
# 1) Preprocess the document library
|
14 |
-
df = pd.read_csv("informacion_neo_tokenizado.csv
|
15 |
df = df.set_index(["title", "heading"])
|
16 |
|
17 |
def get_embedding(text: str, model: str=EMBEDDING_MODEL) -> list[float]:
|
|
|
11 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
12 |
|
13 |
# 1) Preprocess the document library
|
14 |
+
df = pd.read_csv("informacion_neo_tokenizado.csv")
|
15 |
df = df.set_index(["title", "heading"])
|
16 |
|
17 |
def get_embedding(text: str, model: str=EMBEDDING_MODEL) -> list[float]:
|