Skip to content

Commit 4fa05f6

Browse files
committed
Added gradio example config
1 parent 2e0b80c commit 4fa05f6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/gradio.star

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Declarative app config for Gradio apps, install by running
2+
# openrun apply --approve --promote github.com/openrundev/openrun/examples/gradio.star
3+
4+
gr_args = {"container_opts": {"cpus": "2", "memory": "512m"}, "spec": "python-gradio"}
5+
app("/gradio/plot", "github.com/gradio-app/gradio/demo/bar_plot", **gr_args)
6+
app("/gradio/blocks_group", "github.com/gradio-app/gradio/demo/blocks_group", **gr_args)
7+
app("/gradio/count_generator", "github.com/gradio-app/gradio/demo/count_generator", **gr_args)
8+

0 commit comments

Comments
 (0)