paul hilders commited on
Commit
d46a4b3
1 Parent(s): 6d54b19

Turn caching off for NER

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -110,7 +110,8 @@ iface_NER = gr.Interface(fn=NER_demo,
110
  ["example_images/Amsterdam.png", "Pink flowers"],
111
  ["example_images/dogs_on_bed.png", "Two dogs"],
112
  ["example_images/dogs_on_bed.png", "Book"],
113
- ["example_images/dogs_on_bed.png", "Cat"]])
 
114
 
115
  demo_tabs = gr.TabbedInterface([iface, iface_NER], ["Default", "NER"])
116
  demo_tabs.launch(debug=True)
 
110
  ["example_images/Amsterdam.png", "Pink flowers"],
111
  ["example_images/dogs_on_bed.png", "Two dogs"],
112
  ["example_images/dogs_on_bed.png", "Book"],
113
+ ["example_images/dogs_on_bed.png", "Cat"]],
114
+ cache_examples=False)
115
 
116
  demo_tabs = gr.TabbedInterface([iface, iface_NER], ["Default", "NER"])
117
  demo_tabs.launch(debug=True)