Spaces:
Runtime error
Runtime error
new solution
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ def generate(keywords):
|
|
25 |
keywords_list = []
|
26 |
gr.Warning("Please use ',' to separate Keywords")
|
27 |
|
28 |
-
embedding = openai_manager.
|
29 |
|
30 |
-
points = qdrant_manager.search_point(query_vector=embedding
|
31 |
|
32 |
return openai_manager.shots(points, " ".join(keywords_list))
|
33 |
|
|
|
25 |
keywords_list = []
|
26 |
gr.Warning("Please use ',' to separate Keywords")
|
27 |
|
28 |
+
embedding = openai_manager.get_embedding(" ".join(keywords_list))
|
29 |
|
30 |
+
points = qdrant_manager.search_point(query_vector=embedding)
|
31 |
|
32 |
return openai_manager.shots(points, " ".join(keywords_list))
|
33 |
|