ranWang commited on
Commit
20aabbd
1 Parent(s): 8473f14

Adjust button color

Browse files
Files changed (2) hide show
  1. app.css +4 -0
  2. app.py +1 -1
app.css CHANGED
@@ -107,3 +107,7 @@
107
  overflow-y: auto;
108
  padding: 12px;
109
  }
 
 
 
 
 
107
  overflow-y: auto;
108
  padding: 12px;
109
  }
110
+
111
+ .run-btn {
112
+ background: linear-gradient(to right, #ce7e53, #bb470b);
113
+ }
app.py CHANGED
@@ -790,8 +790,8 @@ with gr.Blocks(css=css, title="Math Olympiad Solver") as demo:
790
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.1, label="Temperature")
791
 
792
  with gr.Row():
793
- btn_run = gr.Button("Run")
794
  btn_clear = gr.Button("Clear")
 
795
 
796
  with gr.Column(scale=1, elem_classes="right"):
797
  gr.HTML("Solution", elem_classes="solution-title-content")
 
790
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.1, step=0.1, label="Temperature")
791
 
792
  with gr.Row():
 
793
  btn_clear = gr.Button("Clear")
794
+ btn_run = gr.Button("Run", elem_classes="run-btn")
795
 
796
  with gr.Column(scale=1, elem_classes="right"):
797
  gr.HTML("Solution", elem_classes="solution-title-content")