ruggsea commited on
Commit
d6f5bef
·
1 Parent(s): b3c93fa
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -172,10 +172,9 @@ def create_demo() -> gr.Blocks:
172
  "What is the problem of consciousness in philosophy of mind?",
173
  ],
174
  inputs=msg,
175
- fn=lambda x: generate(x, [], system_prompt.value, max_new_tokens.value, temperature.value, top_p.value, top_k.value, repetition_penalty.value),
176
- outputs=chatbot,
177
- cache_examples=True,
178
- api_name=False
179
  )
180
 
181
  msg.submit(
 
172
  "What is the problem of consciousness in philosophy of mind?",
173
  ],
174
  inputs=msg,
175
+ fn=None,
176
+ outputs=None,
177
+ cache_examples=False,
 
178
  )
179
 
180
  msg.submit(