test example
Browse files
app.py
CHANGED
@@ -231,4 +231,19 @@ if __name__ == "__main__":
|
|
231 |
)
|
232 |
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
demo.launch()
|
|
|
231 |
)
|
232 |
|
233 |
|
234 |
+
# Examples section
|
235 |
+
examples = [
|
236 |
+
[None, "human", "PBMC 100 cells"],
|
237 |
+
[None, "human", "PBMC 1000 cells"]
|
238 |
+
|
239 |
+
]
|
240 |
+
|
241 |
+
gr.Examples(
|
242 |
+
fn=main,
|
243 |
+
examples=examples,
|
244 |
+
inputs=[file_input, species_input, default_dataset_input],
|
245 |
+
outputs=[image_output, file_output, pred_output],
|
246 |
+
cache_examples=True
|
247 |
+
)
|
248 |
+
|
249 |
demo.launch()
|