A-baoYang commited on
Commit
662b101
·
1 Parent(s): ea84703

Fix Styling

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -115,15 +115,13 @@ chatbot = gr.Chatbot(
115
  bubble_full_width=False
116
  )
117
  css = """
 
118
  #center {text-align: center}
119
  footer {visibility: hidden}
120
  a {color: rgb(255, 206, 10) !important}
121
  """
122
- with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="lime")) as demo:
123
-
124
  gr.HTML("<h1>GlobalModelAI AI Product Test</h1><p>Made by `GlobalModelAI Abao`</p>", elem_id="center")
125
- gr.Markdown("---")
126
-
127
  with gr.Tab("OCR + Text2SQL"):
128
  with gr.Row():
129
  with gr.Column():
@@ -145,6 +143,7 @@ with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="lime")) as demo:
145
  outputs=text_data_from_file_check,
146
  fn=reference_from_file,
147
  cache_examples=True,
 
148
  )
149
  with gr.Column():
150
  gr.Markdown("## Chat with your data", elem_id="center")
 
115
  bubble_full_width=False
116
  )
117
  css = """
118
+ #examples_file_to_ocr {color: green}
119
  #center {text-align: center}
120
  footer {visibility: hidden}
121
  a {color: rgb(255, 206, 10) !important}
122
  """
123
+ with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="green")) as demo:
 
124
  gr.HTML("<h1>GlobalModelAI AI Product Test</h1><p>Made by `GlobalModelAI Abao`</p>", elem_id="center")
 
 
125
  with gr.Tab("OCR + Text2SQL"):
126
  with gr.Row():
127
  with gr.Column():
 
143
  outputs=text_data_from_file_check,
144
  fn=reference_from_file,
145
  cache_examples=True,
146
+ elem_id="examples_file_to_ocr"
147
  )
148
  with gr.Column():
149
  gr.Markdown("## Chat with your data", elem_id="center")