Irina Tolstykh commited on
Commit
2c10ed3
1 Parent(s): 8a19b0b

change theme

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -94,7 +94,10 @@ examples = [[path.as_posix(), 0.4, 0.7, "Use persons and faces"] for path in sor
94
 
95
  func = functools.partial(detect, predictor=predictor)
96
 
97
- with gr.Blocks(css='style.css') as demo:
 
 
 
98
  gr.Markdown(DESCRIPTION)
99
  with gr.Row():
100
  with gr.Column():
@@ -109,7 +112,7 @@ with gr.Blocks(css='style.css') as demo:
109
  with gr.Row():
110
  clear_button = gr.Button("Clear")
111
  with gr.Column():
112
- run_button = gr.Button("Submit")
113
  with gr.Column():
114
  result = gr.Image(label='Output', type='numpy')
115
 
 
94
 
95
  func = functools.partial(detect, predictor=predictor)
96
 
97
+ with gr.Blocks(
98
+ theme=gr.themes.Default(),
99
+ css="style.css"
100
+ ) as demo:
101
  gr.Markdown(DESCRIPTION)
102
  with gr.Row():
103
  with gr.Column():
 
112
  with gr.Row():
113
  clear_button = gr.Button("Clear")
114
  with gr.Column():
115
+ run_button = gr.Button("Submit", variant="primary")
116
  with gr.Column():
117
  result = gr.Image(label='Output', type='numpy')
118