Spaces:
Running
on
Zero
Running
on
Zero
ymzhang319
commited on
Commit
•
0741039
1
Parent(s):
e4f0aa8
Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
217 |
|
218 |
with gr.Blocks(css=css) as demo:
|
219 |
gr.HTML(
|
220 |
-
'<h1 style="height: 136px; display: flex; align-items: center; justify-content: space-around;"><span style="height: 100%; width:136px;"><img src="file/foleycrafter.png" alt="logo" style="height: 100%; width:auto; object-fit: contain; margin: 0px 0px; padding: 0px 0px;"></span><strong style="font-size:
|
221 |
)
|
222 |
gr.HTML(
|
223 |
'<p id="authors" style="text-align:center; font-size:24px;"> \
|
@@ -279,11 +279,17 @@ with gr.Blocks(css=css) as demo:
|
|
279 |
|
280 |
with gr.Column():
|
281 |
result_video = gr.Video(label="Generated Audio", interactive=False)
|
282 |
-
gr.
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
|
288 |
generate_button.click(
|
289 |
fn=controller.foley,
|
|
|
217 |
|
218 |
with gr.Blocks(css=css) as demo:
|
219 |
gr.HTML(
|
220 |
+
'<h1 style="height: 136px; display: flex; align-items: center; justify-content: space-around;"><span style="height: 100%; width:136px;"><img src="file/foleycrafter.png" alt="logo" style="height: 100%; width:auto; object-fit: contain; margin: 0px 0px; padding: 0px 0px;"></span><strong style="font-size: 36px;">FoleyCrafter: Bring Silent Videos to Life with Lifelike and Synchronized Sounds</strong></h1>'
|
221 |
)
|
222 |
gr.HTML(
|
223 |
'<p id="authors" style="text-align:center; font-size:24px;"> \
|
|
|
279 |
|
280 |
with gr.Column():
|
281 |
result_video = gr.Video(label="Generated Audio", interactive=False)
|
282 |
+
with gr.Row():
|
283 |
+
gr.Markdown(
|
284 |
+
"<div style='word-spacing: 6px;'><font size='5'><b>Tips</b>: <br> \
|
285 |
+
1. With strong temporal visual cues in input video, you can scale up the <b>Temporal Align Scale</b>. <br>\
|
286 |
+
2. <b>Visual content scale</b> is the level of semantic alignment with visual content.</font></div> \
|
287 |
+
")
|
288 |
+
# gr.HTML(
|
289 |
+
# '<p style="font-size: 16px;">**Tips**: <br> \
|
290 |
+
# 1. With strong temporal visual cues in input video, you can scale up the **Temporal Align Scale**. <br>\
|
291 |
+
# 2. **Visual content scale** is the level of semantic alignment with visual content.</p> \
|
292 |
+
# ')
|
293 |
|
294 |
generate_button.click(
|
295 |
fn=controller.foley,
|