fffiloni commited on
Commit
4d300d7
1 Parent(s): 57f1b5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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
- with gr.Blocks() as demo:
91
- with gr.Column():
 
 
 
 
 
 
 
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