fffiloni commited on
Commit
322ebf1
·
verified ·
1 Parent(s): 0783964

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -53,7 +53,16 @@ def process_video(video_path, prompt, num_steps, degradation_level):
53
 
54
  raise gr.Error(f"An error occurred: {str(e)}")
55
 
56
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
57
  with gr.Column():
58
  gr.Markdown("# Go-With-The-Flow • Cut and Drag")
59
  gr.HTML("""
@@ -93,7 +102,7 @@ with gr.Blocks() as demo:
93
  <a href="https://huggingface.co/fffiloni">
94
  <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm-dark.svg" alt="Follow me on HF"> for space updates
95
  </a>
96
- """)
97
 
98
  submit_btn.click(
99
  fn = process_video,
 
53
 
54
  raise gr.Error(f"An error occurred: {str(e)}")
55
 
56
+ css="""
57
+ div#follow-div{
58
+ text-decoration: none !important;
59
+ display: flex;
60
+ column-gap: 5px;
61
+ font-size: 0.8em;
62
+ }
63
+ """
64
+
65
+ with gr.Blocks(css=css) as demo:
66
  with gr.Column():
67
  gr.Markdown("# Go-With-The-Flow • Cut and Drag")
68
  gr.HTML("""
 
102
  <a href="https://huggingface.co/fffiloni">
103
  <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/follow-me-on-HF-sm-dark.svg" alt="Follow me on HF"> for space updates
104
  </a>
105
+ """, elem_id="follow-div")
106
 
107
  submit_btn.click(
108
  fn = process_video,