gauri-sharan commited on
Commit
4791a38
·
verified ·
1 Parent(s): 86bd82f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks() as iface:
105
  # Image upload and text extraction section
106
  with gr.Column():
107
  img_input = gr.Image(type="pil", label="Upload an Image")
108
- extracted_output = gr.HTML(label="Extracted Text", interactive=False) # Change to HTML to handle formatting
109
 
110
  # Functionality to trigger the OCR and extraction
111
  img_button = gr.Button("Extract Text")
 
105
  # Image upload and text extraction section
106
  with gr.Column():
107
  img_input = gr.Image(type="pil", label="Upload an Image")
108
+ extracted_output = gr.HTML(label="Extracted Text") # Removed 'interactive' argument
109
 
110
  # Functionality to trigger the OCR and extraction
111
  img_button = gr.Button("Extract Text")