RufusRubin777 commited on
Commit
20edee5
1 Parent(s): 57613ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -98,15 +98,11 @@ with gr.Blocks() as scan_master_web_app:
98
  image_input = gr.Image(type="filepath", label="Upload your image")
99
  submit_button = gr.Button("Extract Text")
100
  ocr_result = gr.Textbox(label="Extracted Text")
101
-
102
- # with gr.Column():
103
- # ocr_result = gr.Textbox(label="OCR output")
104
-
105
- # with gr.Row():
106
  with gr.Column():
107
  keyword = gr.Textbox(label="Search a keyword in the extracted text")
108
  search_button = gr.Button("Search Keyword")
109
- # with gr.Column():
110
  search_result = gr.HTML(label="Search result")
111
 
112
  submit_button.click(
 
98
  image_input = gr.Image(type="filepath", label="Upload your image")
99
  submit_button = gr.Button("Extract Text")
100
  ocr_result = gr.Textbox(label="Extracted Text")
101
+
102
+
 
 
 
103
  with gr.Column():
104
  keyword = gr.Textbox(label="Search a keyword in the extracted text")
105
  search_button = gr.Button("Search Keyword")
 
106
  search_result = gr.HTML(label="Search result")
107
 
108
  submit_button.click(