Spaces:
Runtime error
Runtime error
new app, cache true
Browse files- __pycache__/app.cpython-38.pyc +0 -0
- app.py +5 -3
- gradio_cached_examples/35/log.csv +4 -0
- gradio_cached_examples/35/output/5ad5902a38bd38e2acd6/image.png +0 -0
- gradio_cached_examples/35/output/8832ec54c64e31252a0f/image.png +0 -0
- gradio_cached_examples/35/output/93f68bc468041a382914/image.png +0 -0
- gradio_cached_examples/53/log.csv +4 -0
- gradio_cached_examples/53/output/0c8c9144c86042d7c396/image.png +0 -0
- gradio_cached_examples/53/output/3125de36d4a9187d0154/image.png +0 -0
- gradio_cached_examples/53/output/6e1abfdce28e8300d332/image.png +0 -0
__pycache__/app.cpython-38.pyc
CHANGED
Binary files a/__pycache__/app.cpython-38.pyc and b/__pycache__/app.cpython-38.pyc differ
|
|
app.py
CHANGED
@@ -32,7 +32,7 @@ demo_app = gr.Interface(
|
|
32 |
fn=yolov7_inference,
|
33 |
inputs=inputs,
|
34 |
outputs=outputs,
|
35 |
-
title="
|
36 |
description = """
|
37 |
This application is detecting damaged jar lids. Type of damages include deformations, holes or scratches. The object detection notebook can be found at <a href="https://www.kaggle.com/rrighart">Kaggle</a>
|
38 |
|
@@ -46,7 +46,9 @@ Web: <a href="https://www.rrighart.com">www.rrighart.com</a>
|
|
46 |
examples = [['example1.JPG'], ['example2.JPG'], ['example3.JPG']],
|
47 |
#examples = [['example1.JPG', 0.50], ['example2.JPG', 0.50], ['example3.JPG', 0.50]],
|
48 |
css=css,
|
49 |
-
cache_examples=
|
50 |
)
|
51 |
|
52 |
-
|
|
|
|
|
|
32 |
fn=yolov7_inference,
|
33 |
inputs=inputs,
|
34 |
outputs=outputs,
|
35 |
+
title="Fast detection of jar lid defects using Yolov7",
|
36 |
description = """
|
37 |
This application is detecting damaged jar lids. Type of damages include deformations, holes or scratches. The object detection notebook can be found at <a href="https://www.kaggle.com/rrighart">Kaggle</a>
|
38 |
|
|
|
46 |
examples = [['example1.JPG'], ['example2.JPG'], ['example3.JPG']],
|
47 |
#examples = [['example1.JPG', 0.50], ['example2.JPG', 0.50], ['example3.JPG', 0.50]],
|
48 |
css=css,
|
49 |
+
cache_examples=True,
|
50 |
)
|
51 |
|
52 |
+
|
53 |
+
demo_app.queue().launch(debug=False)
|
54 |
+
|
gradio_cached_examples/35/log.csv
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
output,flag,username,timestamp
|
2 |
+
"{""path"":""gradio_cached_examples/35/output/5ad5902a38bd38e2acd6/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:33.545363
|
3 |
+
"{""path"":""gradio_cached_examples/35/output/93f68bc468041a382914/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:35.983600
|
4 |
+
"{""path"":""gradio_cached_examples/35/output/8832ec54c64e31252a0f/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:37.809208
|
gradio_cached_examples/35/output/5ad5902a38bd38e2acd6/image.png
ADDED
![]() |
gradio_cached_examples/35/output/8832ec54c64e31252a0f/image.png
ADDED
![]() |
gradio_cached_examples/35/output/93f68bc468041a382914/image.png
ADDED
![]() |
gradio_cached_examples/53/log.csv
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
output,flag,username,timestamp
|
2 |
+
"{""path"":""gradio_cached_examples/53/output/0c8c9144c86042d7c396/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:40.292835
|
3 |
+
"{""path"":""gradio_cached_examples/53/output/3125de36d4a9187d0154/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:42.213120
|
4 |
+
"{""path"":""gradio_cached_examples/53/output/6e1abfdce28e8300d332/image.png"",""url"":null,""size"":null,""orig_name"":""image.png"",""mime_type"":null}",,,2023-12-11 16:23:44.571164
|
gradio_cached_examples/53/output/0c8c9144c86042d7c396/image.png
ADDED
![]() |
gradio_cached_examples/53/output/3125de36d4a9187d0154/image.png
ADDED
![]() |
gradio_cached_examples/53/output/6e1abfdce28e8300d332/image.png
ADDED
![]() |