minwoosun commited on
Commit
5612922
·
verified ·
1 Parent(s): efca0ea

example provide fn and outputs

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -241,8 +241,10 @@ if __name__ == "__main__":
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
 
 
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
+ outputs=[image_output, file_output, pred_output]
247
+ fn=main
248
  cache_examples=True
249
  )
250