Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,20 @@ def create_demo(args, model_name: str, device: str = "cuda" if torch.cuda.is_ava
|
|
| 159 |
|
| 160 |
with gr.Blocks(theme="soft") as demo:
|
| 161 |
|
| 162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
with gr.Row():
|
| 164 |
with gr.Column():
|
| 165 |
prompt = gr.Textbox(label="Prompt", value="portrait, color, cinematic")
|
|
|
|
| 159 |
|
| 160 |
with gr.Blocks(theme="soft") as demo:
|
| 161 |
|
| 162 |
+
gr.HTML(
|
| 163 |
+
"""
|
| 164 |
+
<div class='container' style='display:flex; justify-content:center; gap:12px;'>
|
| 165 |
+
<a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank">
|
| 166 |
+
<img src="https://img.shields.io/static/v1?label=OpenFree&message=BEST%20AI%20Services&color=%230000ff&labelColor=%23000080&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="OpenFree badge">
|
| 167 |
+
</a>
|
| 168 |
+
|
| 169 |
+
<a href="https://discord.gg/openfreeai" target="_blank">
|
| 170 |
+
<img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="Discord badge">
|
| 171 |
+
</a>
|
| 172 |
+
</div>
|
| 173 |
+
"""
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
with gr.Row():
|
| 177 |
with gr.Column():
|
| 178 |
prompt = gr.Textbox(label="Prompt", value="portrait, color, cinematic")
|