Upload app.py with huggingface_hub
Browse files
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=
|
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 |
|