Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks() as app:
|
|
22 |
with gr.Row():
|
23 |
f_col=gr.ColorPicker(label='Text Color')
|
24 |
b_col=gr.ColorPicker(label='Background Color')
|
25 |
-
|
26 |
|
27 |
outp = gr.Pil()
|
28 |
btn.click(process,[inp,f_size,f_x,f_y,f_col,b_col,b_op,b_x,b_y],outp)
|
|
|
22 |
with gr.Row():
|
23 |
f_col=gr.ColorPicker(label='Text Color')
|
24 |
b_col=gr.ColorPicker(label='Background Color')
|
25 |
+
b_op=gr.Slider(label='Background Opacity', maximum=255, step=1, value=255)
|
26 |
|
27 |
outp = gr.Pil()
|
28 |
btn.click(process,[inp,f_size,f_x,f_y,f_col,b_col,b_op,b_x,b_y],outp)
|