bstraehle commited on
Commit
615fde1
·
1 Parent(s): 332ff9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def invoke(openai_api_key, use_rag, prompt):
50
  try:
51
  llm = ChatOpenAI(model_name = MODEL_NAME,
52
  openai_api_key = openai_api_key,
 
53
  temperature = 0)
54
  if (use_rag):
55
  # Document loading
 
50
  try:
51
  llm = ChatOpenAI(model_name = MODEL_NAME,
52
  openai_api_key = openai_api_key,
53
+ streaming = True,
54
  temperature = 0)
55
  if (use_rag):
56
  # Document loading