Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def respond(message,
|
|
119 |
response = ""
|
120 |
|
121 |
for message in client.chat_completion(
|
122 |
-
messages,
|
123 |
max_tokens=max_tokens,
|
124 |
stream=True,
|
125 |
temperature=temperature,
|
@@ -167,7 +167,7 @@ demo = gr.Interface(
|
|
167 |
],
|
168 |
inputs="textbox",
|
169 |
outputs="textbox",
|
170 |
-
cache_examples=
|
171 |
examples=[
|
172 |
["Why is men created?"],
|
173 |
["Please tell me about superstition!"],
|
|
|
119 |
response = ""
|
120 |
|
121 |
for message in client.chat_completion(
|
122 |
+
messages="",
|
123 |
max_tokens=max_tokens,
|
124 |
stream=True,
|
125 |
temperature=temperature,
|
|
|
167 |
],
|
168 |
inputs="textbox",
|
169 |
outputs="textbox",
|
170 |
+
cache_examples="lazy",
|
171 |
examples=[
|
172 |
["Why is men created?"],
|
173 |
["Please tell me about superstition!"],
|