MC-E commited on
Commit
864f20a
β€’
1 Parent(s): 825452e
Files changed (1) hide show
  1. app.py +3 -2
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), [[Paper]](https://arxiv.org/abs/2302.08453). 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
  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 = []