Spaces:
Runtime error
Runtime error
Commit
·
6443cd7
1
Parent(s):
758cfc5
Fix issue with Description
Browse files
app.py
CHANGED
|
@@ -31,7 +31,8 @@ from gradio_sketch import create_demo as create_demo_sketch
|
|
| 31 |
from model import Model
|
| 32 |
|
| 33 |
MAX_IMAGES = 1
|
| 34 |
-
|
|
|
|
| 35 |
[Paper](https://arxiv.org/abs/2302.08453) [GitHub](https://github.com/TencentARC/T2I-Adapter)
|
| 36 |
'''
|
| 37 |
if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
|
@@ -44,7 +45,7 @@ if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
|
| 44 |
model = Model()
|
| 45 |
|
| 46 |
with gr.Blocks(css='style.css') as demo:
|
| 47 |
-
gr.Markdown(
|
| 48 |
with gr.Tabs():
|
| 49 |
with gr.TabItem('Sketch'):
|
| 50 |
create_demo_sketch(model.process_sketch)
|
|
|
|
| 31 |
from model import Model
|
| 32 |
|
| 33 |
MAX_IMAGES = 1
|
| 34 |
+
description = ''' This is an unofficial demo for T2I-Adapter
|
| 35 |
+
|
| 36 |
[Paper](https://arxiv.org/abs/2302.08453) [GitHub](https://github.com/TencentARC/T2I-Adapter)
|
| 37 |
'''
|
| 38 |
if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
|
|
|
|
| 45 |
model = Model()
|
| 46 |
|
| 47 |
with gr.Blocks(css='style.css') as demo:
|
| 48 |
+
gr.Markdown(description)
|
| 49 |
with gr.Tabs():
|
| 50 |
with gr.TabItem('Sketch'):
|
| 51 |
create_demo_sketch(model.process_sketch)
|