Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def change_bg_color(r, g, b):
|
|
6 |
return f"<div style='background-color:{color}; width:100vw; height:100vh;'></div>"
|
7 |
|
8 |
# Create Gradio interface
|
9 |
-
with gr.Blocks() as demo:
|
10 |
with gr.Row():
|
11 |
r_slider = gr.Slider(0, 255, label="Red", value=128)
|
12 |
g_slider = gr.Slider(0, 255, label="Green", value=128)
|
|
|
6 |
return f"<div style='background-color:{color}; width:100vw; height:100vh;'></div>"
|
7 |
|
8 |
# Create Gradio interface
|
9 |
+
with gr.Blocks(fill_width=True) as demo:
|
10 |
with gr.Row():
|
11 |
r_slider = gr.Slider(0, 255, label="Red", value=128)
|
12 |
g_slider = gr.Slider(0, 255, label="Green", value=128)
|