Duskfallcrew commited on
Commit
a77971a
·
1 Parent(s): 216f091

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import gradio as gr
3
+
4
+ API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None)
5
+
6
+ article = """---
7
+ This space was created using [SD Space Creator](https://huggingface.co/spaces/anzorq/sd-space-creator)."""
8
+
9
+ gr.Interface.load(
10
+ name="models/Duskfallcrew/Gambit_and_Rogue",
11
+ title="""Gambit And Rogue""",
12
+ description="""Demo for <a href="https://huggingface.co/Duskfallcrew/Gambit_and_Rogue">Gambit And Rogue</a> Stable Diffusion model.
13
+ <a href="https://ko-fi.com/DUSKFALLcrew">Coffee is nice</a>
14
+ <a href="https://civitai.com/user/duskfallcrew"> Model Updates on CivIt </a>""",
15
+ article=article,
16
+ api_key=API_KEY,
17
+ ).queue(concurrency_count=20).launch()