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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -31,15 +31,15 @@ colors.steel_blue = colors.Color(
31
  name="steel_blue",
32
  c50="#EBF3F8",
33
  c100="#D3E5F0",
34
- c200="#A8CCE1",
35
- c300="#7DB3D2",
36
- c400="#529AC3",
37
- c500="#4682B4", # SteelBlue base color
38
- c600="#3E72A0",
39
- c700="#36638C",
40
- c800="#2E5378",
41
- c900="#264364",
42
- c950="#1E3450",
43
  )
44
 
45
  class SteelBlueTheme(Soft):
@@ -202,14 +202,14 @@ def generate_image(model_name: str, text: str, image: Image.Image,
202
 
203
  # Define examples for image inference
204
  image_examples = [
205
- ["Extract the full page.", "images/ocr.png"],
206
  ["Extract the content.", "images/4.png"],
207
- ["Convert this page to doc [table] precisely for markdown.", "images/0.png"]
208
  ]
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 - Copilot**", elem_id="main-title")
214
  with gr.Row():
215
  with gr.Column(scale=2):
 
31
  name="steel_blue",
32
  c50="#EBF3F8",
33
  c100="#D3E5F0",
34
+ c200="#E1A8C4",
35
+ c300="#D27D99",
36
+ c400="#C35294",
37
+ c500="#B44679", # SteelBlue base color
38
+ c600="#A03E74",
39
+ c700="#8C365E",
40
+ c800="#782E57",
41
+ c900="#64263E",
42
+ c950="#501E33",
43
  )
44
 
45
  class SteelBlueTheme(Soft):
 
202
 
203
  # Define examples for image inference
204
  image_examples = [
205
+ ["Extract the full page.", "images/3.jpg"],
206
  ["Extract the content.", "images/4.png"],
207
+ ["Convert this page to doc [table] precisely for markdown.", "images/0.jpg"]
208
  ]
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):