Bofandra commited on
Commit
559573e
1 Parent(s): a03361f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=True,
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!"],