Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
04f783d
1
Parent(s):
f42c411
Fix submit button for new gradio version
Browse files
app.py
CHANGED
@@ -180,6 +180,9 @@ css = """
|
|
180 |
text-align: center;
|
181 |
font-weight: 900;
|
182 |
}
|
|
|
|
|
|
|
183 |
"""
|
184 |
iface = gr.Blocks(css=css)
|
185 |
|
@@ -263,7 +266,7 @@ with iface:
|
|
263 |
# loading_icon = gr.HTML(loading_icon_html, visible=False)
|
264 |
# share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
265 |
# outputs=[gr.Audio(label="Output", type="numpy"), gr.Audio(label="Output", type="numpy")]
|
266 |
-
btn = gr.Button("Submit").style(full_width=True)
|
267 |
|
268 |
with gr.Group(elem_id="share-btn-container", visible=False):
|
269 |
community_icon = gr.HTML(community_icon_html)
|
|
|
180 |
text-align: center;
|
181 |
font-weight: 900;
|
182 |
}
|
183 |
+
#submit-button{
|
184 |
+
width: 100%;
|
185 |
+
}
|
186 |
"""
|
187 |
iface = gr.Blocks(css=css)
|
188 |
|
|
|
266 |
# loading_icon = gr.HTML(loading_icon_html, visible=False)
|
267 |
# share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
|
268 |
# outputs=[gr.Audio(label="Output", type="numpy"), gr.Audio(label="Output", type="numpy")]
|
269 |
+
btn = gr.Button("Submit", elem_id="submit-button").style(full_width=True)
|
270 |
|
271 |
with gr.Group(elem_id="share-btn-container", visible=False):
|
272 |
community_icon = gr.HTML(community_icon_html)
|