Shane Weisz commited on
Commit
861614f
·
1 Parent(s): a9b8087

Don't cache examples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,5 +27,5 @@ model = ResponseGenerator(DEFAULT_MODEL, DECODING_CONFIG)
27
  def respond(input):
28
  return model.respond(input)
29
 
30
- demo = gr.Interface(fn=respond, inputs="text", outputs="text", examples=["Muslims are all terrorists", "Jews are selfish and greedy", "Why waste time listening to black women?"], title = TITLE, description = DESCRIPTION, article = ARTICLE)
31
  demo.launch()
 
27
  def respond(input):
28
  return model.respond(input)
29
 
30
+ demo = gr.Interface(fn=respond, inputs="text", outputs="text", examples=["Muslims are all terrorists", "Jews are selfish and greedy", "Why waste time listening to black women?"], cache_examples = False, title = TITLE, description = DESCRIPTION, article = ARTICLE)
31
  demo.launch()