Spaces:
Runtime error
Runtime error
MC-E
commited on
Commit
Β·
864f20a
1
Parent(s):
825452e
README
Browse files
app.py
CHANGED
|
@@ -194,10 +194,11 @@ def change_visible(im1, im2, val):
|
|
| 194 |
|
| 195 |
DESCRIPTION = '# [CoAdapter (Composable Adapter)](https://github.com/TencentARC/T2I-Adapter)'
|
| 196 |
|
| 197 |
-
DESCRIPTION += f'<p>Gradio demo for **CoAdapter**: [[GitHub]](https://github.com/TencentARC/T2I-Adapter), [[
|
| 198 |
|
| 199 |
DESCRIPTION += f'<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/Adapter/T2I-Adapter?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
|
| 200 |
-
with gr.Blocks(title="CoAdapter", css=".gr-box {border-color: #8136e2}") as demo:
|
|
|
|
| 201 |
gr.Markdown(DESCRIPTION)
|
| 202 |
|
| 203 |
btns = []
|
|
|
|
| 194 |
|
| 195 |
DESCRIPTION = '# [CoAdapter (Composable Adapter)](https://github.com/TencentARC/T2I-Adapter)'
|
| 196 |
|
| 197 |
+
DESCRIPTION += f'<p>Gradio demo for **CoAdapter**: [[GitHub]](https://github.com/TencentARC/T2I-Adapter), [[Details]](https://github.com/TencentARC/T2I-Adapter/blob/main/docs/coadapter.md). If CoAdapter is helpful, please help to β the [Github Repo](https://github.com/TencentARC/T2I-Adapter) and recommend it to your friends π </p>'
|
| 198 |
|
| 199 |
DESCRIPTION += f'<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/Adapter/T2I-Adapter?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
|
| 200 |
+
# with gr.Blocks(title="CoAdapter", css=".gr-box {border-color: #8136e2}") as demo:
|
| 201 |
+
with gr.Blocks(css='style.css') as demo:
|
| 202 |
gr.Markdown(DESCRIPTION)
|
| 203 |
|
| 204 |
btns = []
|