tarekfer8 commited on
Commit
e6c97d1
·
verified ·
1 Parent(s): 975d5f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
47
  tableau_de_mots=mot_cle("mots_clés.txt")
48
  mots_a_verifier = tableau_de_mots
49
  docs_text, docs_embeddings = load_data()
50
- question=message
51
  prompt=pip(question,docs_text, docs_embeddings,mots_a_verifier,vector_db)
52
  print(prompt)
53
 
 
47
  tableau_de_mots=mot_cle("mots_clés.txt")
48
  mots_a_verifier = tableau_de_mots
49
  docs_text, docs_embeddings = load_data()
50
+ question={"role": "user", "content": message}
51
  prompt=pip(question,docs_text, docs_embeddings,mots_a_verifier,vector_db)
52
  print(prompt)
53