Spaces:
Sleeping
Sleeping
nehulagrawal
commited on
Commit
·
11e23e5
1
Parent(s):
d25b655
Update app.py
Browse files
app.py
CHANGED
@@ -46,13 +46,12 @@ inputs = [
|
|
46 |
outputs = gr.outputs.Image(type="filepath", label="Output Image")
|
47 |
title = "pancard : pancard Detection in Images"
|
48 |
|
49 |
-
examples = [['sample/1.jpg', 'foduucom/pan-card-detection', 640, 0.25, 0.45], ['sample/2.jpg', 'foduucom/pan-card-detection', 640, 0.25, 0.45]]
|
50 |
demo_app = gr.Interface(
|
51 |
fn=yolov8_inference,
|
52 |
inputs=inputs,
|
53 |
outputs=outputs,
|
54 |
title=title,
|
55 |
-
|
56 |
cache_examples=True,
|
57 |
theme='huggingface',
|
58 |
)
|
|
|
46 |
outputs = gr.outputs.Image(type="filepath", label="Output Image")
|
47 |
title = "pancard : pancard Detection in Images"
|
48 |
|
|
|
49 |
demo_app = gr.Interface(
|
50 |
fn=yolov8_inference,
|
51 |
inputs=inputs,
|
52 |
outputs=outputs,
|
53 |
title=title,
|
54 |
+
|
55 |
cache_examples=True,
|
56 |
theme='huggingface',
|
57 |
)
|