Skip to content

Commit

Permalink
gradio: center container
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Oct 17, 2022
1 parent 45c6145 commit 47d0083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

# define UI

with gr.Blocks(css=".gradio-container {max-width: 512px;}") as demo:
with gr.Blocks(css=".gradio-container {max-width: 512px; margin: auto;}") as demo:

# title
gr.Markdown('[Stable-DreamFusion](https://github.com/ashawkey/stable-dreamfusion) Text-to-3D Example')
Expand Down

0 comments on commit 47d0083

Please sign in to comment.