anzorq commited on
Commit
b63f0e4
β€’
1 Parent(s): 020dadf

Create app_simple.py

Browse files
Files changed (1) hide show
  1. template/app_simple.py +11 -0
template/app_simple.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ article = """---
4
+ This space was created using [SD Space Creator](https://huggingface.co/spaces/anzorq/sd-space-creator)."""
5
+
6
+ gr.Interface.load(
7
+ name="models/$model_id",
8
+ title="$title",
9
+ description="$description",
10
+ article=article,
11
+ ).queue(concurrency_count=20).launch()