Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,9 @@ def update(input):
|
|
6 |
return output
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
-
title = gr.HTML("<h1><center>
|
10 |
with gr.Row():
|
11 |
-
shields = gr.HTML('<div style="display: flex; gap: 7px;">
|
12 |
-
<a href="https://pypi.org/project/gradio-toggle/" target="_blank"><img alt="PyPI" src="https://img.shields.io/pypi/v/gradio-toggle"></a>
|
13 |
-
<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>
|
14 |
-
<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>
|
15 |
-
</div>')
|
16 |
with gr.Row():
|
17 |
description = gr.Markdown("A toggle component that represents a boolean value, allowing users to switch between True and False states. Can function both as an input, to capture user interaction, and as an output, to display a boolean state.")
|
18 |
with gr.Row():
|
|
|
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>')
|
|
|
|
|
|
|
|
|
12 |
with gr.Row():
|
13 |
description = gr.Markdown("A toggle component that represents a boolean value, allowing users to switch between True and False states. Can function both as an input, to capture user interaction, and as an output, to display a boolean state.")
|
14 |
with gr.Row():
|