as-cle-bert commited on
Commit
959a39f
1 Parent(s): 124a77f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ load_dotenv()
11
  searcher = NeuralSearcher("pokemon_texts", "pokemon_images", qdrant_client, encoder, image_encoder, processor, sparse_encoder)
12
  semantic_cache = SemanticCache(qdrant_client, encoder, "semantic_cache", 0.75)
13
 
14
- def chat_pokemon(message: str):
15
  answer = semantic_cache.search_cache(message)
16
  if answer != "":
17
  r = ""
 
11
  searcher = NeuralSearcher("pokemon_texts", "pokemon_images", qdrant_client, encoder, image_encoder, processor, sparse_encoder)
12
  semantic_cache = SemanticCache(qdrant_client, encoder, "semantic_cache", 0.75)
13
 
14
+ def chat_pokemon(message: str, history):
15
  answer = semantic_cache.search_cache(message)
16
  if answer != "":
17
  r = ""