ranggafermata commited on
Commit
ce7cd69
·
verified ·
1 Parent(s): 67c1006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -29,8 +29,8 @@ from gradio.themes.utils import colors, fonts, sizes
29
  # Define the SteelBlue color palette
30
  colors.steel_blue = colors.Color(
31
  name="steel_blue",
32
- c50="#EBF3F8",
33
- c100="#D3E5F0",
34
  c200="#E1A8C4",
35
  c300="#D27D99",
36
  c400="#C35294",
@@ -46,7 +46,7 @@ class SteelBlueTheme(Soft):
46
  def __init__(
47
  self,
48
  *,
49
- primary_hue: colors.Color | str = colors.gray,
50
  secondary_hue: colors.Color | str = colors.steel_blue,
51
  neutral_hue: colors.Color | str = colors.slate,
52
  text_size: sizes.Size | str = sizes.text_lg,
@@ -209,8 +209,8 @@ image_examples = [
209
 
210
 
211
  # Create the Gradio Interface
212
- with gr.Blocks(css=css, theme=gr.themes.Dark()) as demo:
213
- gr.Markdown("# **Angel's Eye - Copilot**", elem_id="main-title")
214
  with gr.Row():
215
  with gr.Column(scale=2):
216
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
 
29
  # Define the SteelBlue color palette
30
  colors.steel_blue = colors.Color(
31
  name="steel_blue",
32
+ c50="#2A2B2C",
33
+ c100="#2E3235",
34
  c200="#E1A8C4",
35
  c300="#D27D99",
36
  c400="#C35294",
 
46
  def __init__(
47
  self,
48
  *,
49
+ primary_hue: colors.Color | str = colors.black,
50
  secondary_hue: colors.Color | str = colors.steel_blue,
51
  neutral_hue: colors.Color | str = colors.slate,
52
  text_size: sizes.Size | str = sizes.text_lg,
 
209
 
210
 
211
  # Create the Gradio Interface
212
+ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
213
+ gr.Markdown("# **Angel's Eye - OCR**", elem_id="main-title")
214
  with gr.Row():
215
  with gr.Column(scale=2):
216
  image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")