panelforge commited on
Commit
4b42b92
·
verified ·
1 Parent(s): 5244b5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -62,6 +62,19 @@ css = """
62
  margin: 0 auto;
63
  max-width: 640px;
64
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  """
66
 
67
  with gr.Blocks(css=css) as demo:
@@ -80,7 +93,7 @@ with gr.Blocks(css=css) as demo:
80
  )
81
 
82
  with gr.Row():
83
- run_button = gr.Button("Run", scale=0, variant="primary")
84
 
85
  with gr.Accordion("Advanced Settings", open=False):
86
  with gr.Row():
 
62
  margin: 0 auto;
63
  max-width: 640px;
64
  }
65
+ button.full-width {
66
+ width: 100%;
67
+ padding: 10px 0;
68
+ font-size: 16px;
69
+ background-color: #4CAF50;
70
+ color: white;
71
+ border: none;
72
+ border-radius: 5px;
73
+ transition: background-color 0.3s;
74
+ }
75
+ button.full-width:hover {
76
+ background-color: #45a049;
77
+ }
78
  """
79
 
80
  with gr.Blocks(css=css) as demo:
 
93
  )
94
 
95
  with gr.Row():
96
+ run_button = gr.Button("Run", scale=0, variant="primary", elem_classes="full-width")
97
 
98
  with gr.Accordion("Advanced Settings", open=False):
99
  with gr.Row():