fffiloni commited on
Commit
330b961
1 Parent(s): 7415e84

css adjustments on badges

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -192,6 +192,14 @@ def infer(ref_image_in, ref_video_in, num_inference_steps, guidance_scale, outpu
192
  output_video = gr.Video(label="Output Video")
193
 
194
  css = """
 
 
 
 
 
 
 
 
195
  div#warning-duplicate {
196
  background-color: #ebf5ff;
197
  padding: 0 16px 16px;
@@ -261,10 +269,10 @@ with gr.Blocks(css=css) as demo:
261
  <img src='https://img.shields.io/badge/Paper-Arxiv-red'>
262
  </a>
263
  <a href="https://huggingface.co/tencent/MimicMotion">
264
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-sm.svg" alt="Model on HF">
265
  </a>
266
  <a href='https://huggingface.co/papers/2406.19680'>
267
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/paper-page-sm.svg" alt="Paper page">
268
  </a>
269
  </div>
270
  """)
 
192
  output_video = gr.Video(label="Output Video")
193
 
194
  css = """
195
+ img#model-badge {
196
+ margin-top: -1px;
197
+ height: 24px;
198
+ }
199
+ img#paper-badge {
200
+ height: 18.5px;
201
+ margin-top: 0.5px;
202
+ }
203
  div#warning-duplicate {
204
  background-color: #ebf5ff;
205
  padding: 0 16px 16px;
 
269
  <img src='https://img.shields.io/badge/Paper-Arxiv-red'>
270
  </a>
271
  <a href="https://huggingface.co/tencent/MimicMotion">
272
+ <img id="model-badge" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-sm.svg" alt="Model on HF">
273
  </a>
274
  <a href='https://huggingface.co/papers/2406.19680'>
275
+ <img id="paper-badge" src="https://huggingface.co/datasets/huggingface/badges/resolve/main/paper-page-sm.svg" alt="Paper page">
276
  </a>
277
  </div>
278
  """)