Update README example to use package
Browse files
README.md
CHANGED
|
@@ -148,8 +148,12 @@ import numpy as np
|
|
| 148 |
import matplotlib.pyplot as plt
|
| 149 |
from PIL import Image
|
| 150 |
|
| 151 |
-
from
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
# Load image
|
| 155 |
path = "./example.png"
|
|
|
|
| 148 |
import matplotlib.pyplot as plt
|
| 149 |
from PIL import Image
|
| 150 |
|
| 151 |
+
from nemotron_table_structure_v1 import (
|
| 152 |
+
define_model,
|
| 153 |
+
plot_sample,
|
| 154 |
+
postprocess_preds_table_structure,
|
| 155 |
+
reformat_for_plotting,
|
| 156 |
+
)
|
| 157 |
|
| 158 |
# Load image
|
| 159 |
path = "./example.png"
|