Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -87,8 +87,15 @@ def infer(image_in):
|
|
87 |
audioldm_result = get_audioldm(caption)
|
88 |
return magnet_result, audioldm_result
|
89 |
|
90 |
-
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
gr.HTML("""
|
93 |
<h2 style="text-align: center;">
|
94 |
Image to SFX
|
|
|
87 |
audioldm_result = get_audioldm(caption)
|
88 |
return magnet_result, audioldm_result
|
89 |
|
90 |
+
css="""
|
91 |
+
#col-container{
|
92 |
+
margin: 0 auto;
|
93 |
+
max-width: 720px;
|
94 |
+
}
|
95 |
+
"""
|
96 |
+
|
97 |
+
with gr.Blocks(css=css) as demo:
|
98 |
+
with gr.Column(elem_id="col-container"):
|
99 |
gr.HTML("""
|
100 |
<h2 style="text-align: center;">
|
101 |
Image to SFX
|