pabloce commited on
Commit
c6c615b
·
verified ·
1 Parent(s): 40afde6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def respond(
48
  settings.temperature = temperature
49
  settings.top_p = top_p
50
 
51
- yield agent.get_chat_response(message, llm_sampling_settings=settings, returns_streaming_generator=True)
52
  # stop_tokens = ["</s>", "[INST]", "[INST] ", "<s>", "[/INST]", "[/INST] "]
53
  # chat_template = '<s>[INST] ' + system_message
54
  # # for human, assistant in history:
 
48
  settings.temperature = temperature
49
  settings.top_p = top_p
50
 
51
+ return agent.get_chat_response(message, llm_sampling_settings=settings, returns_streaming_generator=True)
52
  # stop_tokens = ["</s>", "[INST]", "[INST] ", "<s>", "[/INST]", "[/INST] "]
53
  # chat_template = '<s>[INST] ' + system_message
54
  # # for human, assistant in history: