demetz commited on
Commit
3b45c3d
·
verified ·
1 Parent(s): 5508f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -23,8 +23,11 @@ client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
23
  def respond(message, history, name, char_class, char_alignment, char_race, campaign, party):
24
 
25
  response = ""
 
26
  top_chunks = get_top_chunks(f"{char_class}, {char_alignment}, {char_race}, {campaign},{party},{message}")
27
  context = "\n".join(top_chunks)
 
 
28
 
29
  messages = [
30
  {
 
23
  def respond(message, history, name, char_class, char_alignment, char_race, campaign, party):
24
 
25
  response = ""
26
+ print(message)
27
  top_chunks = get_top_chunks(f"{char_class}, {char_alignment}, {char_race}, {campaign},{party},{message}")
28
  context = "\n".join(top_chunks)
29
+ print(context)
30
+
31
 
32
  messages = [
33
  {