zinoubm commited on
Commit
e65d26a
·
1 Parent(s): 22eb7e8

fixing input bug

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ def generate(keywords):
25
  keywords_list = []
26
  gr.Warning("Please use ',' to separate Keywords")
27
 
28
- embedding = openai_manager.get_embedding(" ".join(keywords_list))
29
- print(embedding)
30
  points = qdrant_manager.search_point(query_vector=embedding)
31
 
32
  return openai_manager.shots(points, " ".join(keywords_list))
 
25
  keywords_list = []
26
  gr.Warning("Please use ',' to separate Keywords")
27
 
28
+ embedding = openai_manager.get_embeddings(" ".join(keywords_list))
29
+
30
  points = qdrant_manager.search_point(query_vector=embedding)
31
 
32
  return openai_manager.shots(points, " ".join(keywords_list))