AkashDataScience commited on
Commit
0e04d08
·
1 Parent(s): 3b5d38c

Theme changes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,15 +38,15 @@ description = "A simple Gradio interface to query receipts using RAG"
38
  examples = [["data/receipt_00000.JPG", 7.7],
39
  ["data/receipt_00001.jpg", 7.7]]
40
 
41
- with gr.Blocks() as demo:
42
  gr.Markdown(f"# {title}\n{description}")
43
  with gr.Row():
44
  with gr.Column():
45
  image = gr.Image(width=320, height=320, label="Input Receipt")
46
  width_ths = gr.Slider(0, 10, 7.7, 0.1, label="Width Threshold to merge bounding boxes")
47
  with gr.Row():
48
- submit_btn = gr.Button("Submit")
49
  clear_btn = gr.ClearButton()
 
50
  with gr.Column():
51
  ocr_out = gr.Textbox(label="OCR Output", type="text")
52
 
 
38
  examples = [["data/receipt_00000.JPG", 7.7],
39
  ["data/receipt_00001.jpg", 7.7]]
40
 
41
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
42
  gr.Markdown(f"# {title}\n{description}")
43
  with gr.Row():
44
  with gr.Column():
45
  image = gr.Image(width=320, height=320, label="Input Receipt")
46
  width_ths = gr.Slider(0, 10, 7.7, 0.1, label="Width Threshold to merge bounding boxes")
47
  with gr.Row():
 
48
  clear_btn = gr.ClearButton()
49
+ submit_btn = gr.Button("Submit")
50
  with gr.Column():
51
  ocr_out = gr.Textbox(label="OCR Output", type="text")
52