kcz358 commited on
Commit
8e909f2
·
1 Parent(s): a32cc5f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def process_audio(audio, text, chat_history):
55
  }
56
  )
57
 
58
- chat_history.append({"role": "user", "content": text})
59
  # Set up the streamer for token generation
60
  streamer = TextIteratorStreamer(processor.tokenizer, skip_prompt=True, skip_special_tokens=True)
61
  prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
 
55
  }
56
  )
57
 
58
+ # chat_history.append({"role": "user", "content": text})
59
  # Set up the streamer for token generation
60
  streamer = TextIteratorStreamer(processor.tokenizer, skip_prompt=True, skip_special_tokens=True)
61
  prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)