Spaces:
Running
Running
Yimu Pan
commited on
Commit
·
5b4cc5f
1
Parent(s):
c1f2912
Re-add examples as LFS tracked files
Browse files- .gitattributes +1 -0
- app.py +8 -0
- examples/sample1.jpg +3 -0
- examples/sample2.jpg +3 -0
- examples/sample3.jpg +3 -0
- examples/sample4.jpg +3 -0
- examples/sample5.jpg +3 -0
- examples/sample6.jpg +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
examples/*.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -128,6 +128,14 @@ if __name__ == '__main__':
|
|
| 128 |
gr.Textbox(label="Predicted median pixel-per-centimeter value (with grid lines every 50 pixels):"),
|
| 129 |
gr.Textbox(label="Predicted geometric progression ratio:")
|
| 130 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
title="ONNX (CPU) Ruler Model Visualizer",
|
| 132 |
description="Upload an image to visualize ruler points generated by the ONNX model."
|
| 133 |
)
|
|
|
|
| 128 |
gr.Textbox(label="Predicted median pixel-per-centimeter value (with grid lines every 50 pixels):"),
|
| 129 |
gr.Textbox(label="Predicted geometric progression ratio:")
|
| 130 |
],
|
| 131 |
+
examples=[
|
| 132 |
+
["examples/sample1.jpg"],
|
| 133 |
+
["examples/sample2.jpg"],
|
| 134 |
+
["examples/sample3.jpg"],
|
| 135 |
+
["examples/sample4.jpg"],
|
| 136 |
+
["examples/sample5.jpg"],
|
| 137 |
+
["examples/sample6.jpg"]
|
| 138 |
+
],
|
| 139 |
title="ONNX (CPU) Ruler Model Visualizer",
|
| 140 |
description="Upload an image to visualize ruler points generated by the ONNX model."
|
| 141 |
)
|
examples/sample1.jpg
ADDED
|
Git LFS Details
|
examples/sample2.jpg
ADDED
|
Git LFS Details
|
examples/sample3.jpg
ADDED
|
Git LFS Details
|
examples/sample4.jpg
ADDED
|
Git LFS Details
|
examples/sample5.jpg
ADDED
|
Git LFS Details
|
examples/sample6.jpg
ADDED
|
Git LFS Details
|