Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ def update(input):
|
|
5 |
output = input
|
6 |
return output
|
7 |
|
8 |
-
with gr.Blocks() as demo:
|
9 |
title = gr.HTML("<h1><center>gradio_toggle demo</center></h1>")
|
10 |
with gr.Row():
|
11 |
shields = gr.HTML('<div style="display: flex; gap: 7px;"><a href="https://pypi.org/project/gradio-toggle/" target="_blank"><img alt="PyPI" src="https://img.shields.io/pypi/v/gradio-toggle"></a><a href="https://huggingface.co/spaces/dwancin/gradio_toggle" target="_blank"><img alt="Demo" src="https://img.shields.io/badge/%F0%9F%A4%97%20Demo-%23097EFF?style=flat&logoColor=black"></a><a href="https://github.com/dwancin/gradio-toggle" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Repository-white?logo=github&logoColor=black"></a></div>')
|
|
|
5 |
output = input
|
6 |
return output
|
7 |
|
8 |
+
with gr.Blocks(css=".main{max-width: 700px;margin: 40px auto;}") as demo:
|
9 |
title = gr.HTML("<h1><center>gradio_toggle demo</center></h1>")
|
10 |
with gr.Row():
|
11 |
shields = gr.HTML('<div style="display: flex; gap: 7px;"><a href="https://pypi.org/project/gradio-toggle/" target="_blank"><img alt="PyPI" src="https://img.shields.io/pypi/v/gradio-toggle"></a><a href="https://huggingface.co/spaces/dwancin/gradio_toggle" target="_blank"><img alt="Demo" src="https://img.shields.io/badge/%F0%9F%A4%97%20Demo-%23097EFF?style=flat&logoColor=black"></a><a href="https://github.com/dwancin/gradio-toggle" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Repository-white?logo=github&logoColor=black"></a></div>')
|