Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,12 @@ def inference(img_path, box_thresh=0.5, unclip_ratio=1.6, text_score=0.5,
|
|
| 126 |
return img_save_path, output_text, out_log
|
| 127 |
|
| 128 |
|
| 129 |
-
examples = [['images/1.jpg'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
| 131 |
with gr.Blocks(title='RapidOCR') as demo:
|
| 132 |
gr.Markdown("""
|
|
|
|
| 126 |
return img_save_path, output_text, out_log
|
| 127 |
|
| 128 |
|
| 129 |
+
examples = [['images/1.jpg'],
|
| 130 |
+
['images/ch_en_num.jpg'],
|
| 131 |
+
['images/air_ticket.jpg'],
|
| 132 |
+
['images/car_plate.jpeg'],
|
| 133 |
+
['images/idcard.jpg'],
|
| 134 |
+
['images/train_ticket.jpeg']]
|
| 135 |
|
| 136 |
with gr.Blocks(title='RapidOCR') as demo:
|
| 137 |
gr.Markdown("""
|