Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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 |
+
TrinArt Diffusion"""
|
8 |
+
|
9 |
+
gr.Interface.load(
|
10 |
+
name="models/yulet1de/trinart-diffusion",
|
11 |
+
title="""Trinart Diffusion""",
|
12 |
+
description="""""",
|
13 |
+
article=article,
|
14 |
+
api_key=API_KEY,
|
15 |
+
).queue(concurrency_count=20).launch()
|