fffiloni commited on
Commit
7379673
·
verified ·
1 Parent(s): 51f880b

Add references

Browse files
Files changed (1) hide show
  1. app.py +29 -2
app.py CHANGED
@@ -70,8 +70,35 @@ def infer(lq_sequence, task_name):
70
  except subprocess.CalledProcessError as e:
71
  raise gr.Error(f"Error during inference: {str(e)}")
72
 
73
- with gr.Blocks() as demo:
74
- with gr.Column():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  with gr.Row():
76
  with gr.Column():
77
  input_seq = gr.Video(label="Video LQ")
 
70
  except subprocess.CalledProcessError as e:
71
  raise gr.Error(f"Error during inference: {str(e)}")
72
 
73
+ css="""
74
+ div#col-container{
75
+ margin: 0 auto;
76
+ max-width: 982px;
77
+ }
78
+ """
79
+ with gr.Blocks(css=css) as demo:
80
+ with gr.Column(elem_id="col-container"):
81
+ gr.Markdown("# SVFR: A Unified Framework for Generalized Video Face Restoration")
82
+ gr.Markdown("SVFR is a unified framework for face video restoration that supports tasks such as BFR, Colorization, Inpainting, and their combinations within one cohesive system.")
83
+ gr.HTML("""
84
+ <div style="display:flex;column-gap:4px;">
85
+ <a href="https://github.com/wangzhiyaoo/SVFR">
86
+ <img src='https://img.shields.io/badge/GitHub-Repo-blue'>
87
+ </a>
88
+ <a href="https://wangzhiyaoo.github.io/SVFR/">
89
+ <img src='https://img.shields.io/badge/Project-Page-green'>
90
+ </a>
91
+ <a href="https://arxiv.org/pdf/2501.01235">
92
+ <img src='https://img.shields.io/badge/ArXiv-Paper-red'>
93
+ </a>
94
+ <a href="https://huggingface.co/spaces/fffiloni/SVFR-demo?duplicate=true">
95
+ <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-sm.svg" alt="Duplicate this Space">
96
+ </a>
97
+ <a href="https://huggingface.co/fffiloni">
98
+ <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm-dark.svg" alt="Follow me on HF">
99
+ </a>
100
+ </div>
101
+ """)
102
  with gr.Row():
103
  with gr.Column():
104
  input_seq = gr.Video(label="Video LQ")