Duskfallcrew commited on
Commit
19f919e
·
1 Parent(s): 27f9555

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/OsenayanMix-Illustration",
11
+ title="""Osenayan Mix Illustration (BETA) """,
12
+ description="""Demo for <a href="https://huggingface.co/Duskfallcrew/OsenayanMix-Illustration">Osenayanmix Illustration</a> Stable Diffusion model. We've got a list of things that made this model possible: <a href="https://rentry.co/Osenayan-Mix">Osenayan mix Illustration Recipe Card!</a>. If this mix gets stuck or unresponsive please make a pull request, or <a href="https://discord.gg/Da7s8d3KJ7">Join the Discord for support.</a> More updates to this line can be found on <a href="https://civitai.com/models/36591/duskfalls-osenayan-mix">Osenayanmix Illustration at CivitAI</a> . Don't forget you can DUPLICATE this space using the tools above! """,
13
+ article=article,
14
+ api_key=API_KEY,
15
+ ).queue(concurrency_count=20).launch()