Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,25 @@ m_out = ("""
|
|
38 |
""")
|
39 |
loading=("""
|
40 |
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
def ac():
|
42 |
def clear():
|
43 |
return gr.update(value=0),gr.update(value=0)
|
|
|
38 |
""")
|
39 |
loading=("""
|
40 |
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>""")
|
41 |
+
|
42 |
+
css="""
|
43 |
+
#col-container{
|
44 |
+
margin: 0 auto;
|
45 |
+
max-width: 800px;
|
46 |
+
}
|
47 |
+
"""
|
48 |
+
|
49 |
+
with gr.Blocks(css=css) as demo:
|
50 |
+
with gr.Column(elem_id="col-container"):
|
51 |
+
gr.HTML("""
|
52 |
+
<h2 style="text-align: center;">
|
53 |
+
Image to SFX
|
54 |
+
</h2>
|
55 |
+
<p style="text-align: center;">
|
56 |
+
Compare MAGNet, AudioLDM2 and AudioGen sound effects generation from image caption.
|
57 |
+
</p>
|
58 |
+
""")
|
59 |
+
|
60 |
def ac():
|
61 |
def clear():
|
62 |
return gr.update(value=0),gr.update(value=0)
|