minwoosun commited on
Commit
efca0ea
1 Parent(s): 2190bca

Add cached examples for default dataset

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -240,5 +240,11 @@ if __name__ == "__main__":
240
  outputs=[image_output, file_output, pred_output]
241
  )
242
 
 
 
 
 
 
 
243
  demo.launch()
244
 
 
240
  outputs=[image_output, file_output, pred_output]
241
  )
242
 
243
+ examples = gr.Examples(
244
+ examples = [[None, "human", "PBMC 100 cells"],[None, "human", "PBMC 1000 cells"]],
245
+ inputs = [file_input, species_input, default_dataset_input],
246
+ cache_examples=True
247
+ )
248
+
249
  demo.launch()
250