Spaces:
Build error
Build error
Create app_simple.py
Browse files- 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()
|