vumichien commited on
Commit
2a668fa
β€’
1 Parent(s): b9430bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,6 +95,6 @@ gr.Interface(
95
  examples=examples,
96
  #outputs=gr.Textbox(label='Prediction'),
97
  outputs=gr.outputs.Label(num_top_classes=3, label='Semantic similarity'),
98
- cache_examples=False,
99
  article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/nlp/semantic_similarity_with_bert/\">Mohamad Merchant</a>",
100
  ).launch(debug=True, enable_queue=True)
95
  examples=examples,
96
  #outputs=gr.Textbox(label='Prediction'),
97
  outputs=gr.outputs.Label(num_top_classes=3, label='Semantic similarity'),
98
+ cache_examples=True,
99
  article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/nlp/semantic_similarity_with_bert/\">Mohamad Merchant</a>",
100
  ).launch(debug=True, enable_queue=True)