example provide fn and outputs
Browse files
app.py
CHANGED
@@ -241,8 +241,10 @@ if __name__ == "__main__":
|
|
241 |
)
|
242 |
|
243 |
examples = gr.Examples(
|
244 |
-
examples
|
245 |
-
inputs
|
|
|
|
|
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 |
|