copy button added
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from src.task import ocr_task
|
|
7 |
image = gr.Image(type="pil", label="Image")
|
8 |
|
9 |
# Output for the interface (image and text)
|
10 |
-
ocr_text_output = gr.Textbox(label="OCR Text")
|
11 |
ocr_image_output = gr.Image(type="pil", label="Output Image")
|
12 |
|
13 |
# Examples for the interface (image paths)
|
|
|
7 |
image = gr.Image(type="pil", label="Image")
|
8 |
|
9 |
# Output for the interface (image and text)
|
10 |
+
ocr_text_output = gr.Textbox(label="OCR Text", show_label=True, show_copy_button=True)
|
11 |
ocr_image_output = gr.Image(type="pil", label="Output Image")
|
12 |
|
13 |
# Examples for the interface (image paths)
|