tomy007 commited on
Commit
95f93c3
·
verified ·
1 Parent(s): b2c365d

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ llm = ChatOpenAI(
82
  openai_api_base=endpoint,
83
  openai_api_key=api_key,
84
  model="gpt-4o-mini",
85
- streaming=False
86
  )
87
  # This initializes the Chat OpenAI model with the provided endpoint, API key, deployment name, and a temperature setting of 0 (to control response variability).
88
 
 
82
  openai_api_base=endpoint,
83
  openai_api_key=api_key,
84
  model="gpt-4o-mini",
85
+ streaming=True
86
  )
87
  # This initializes the Chat OpenAI model with the provided endpoint, API key, deployment name, and a temperature setting of 0 (to control response variability).
88