Spaces:
Sleeping
Sleeping
Eric P. Nusbaum
commited on
Commit
·
272be86
1
Parent(s):
2839c47
Update to use ONNX
Browse files
app.py
CHANGED
@@ -144,8 +144,8 @@ iface = gr.Interface(
|
|
144 |
description="Upload an image to detect objects using the ONNX model.",
|
145 |
examples=["examples/card1.jpg", "examples/card2.jpg", "examples/card3.jpg"],
|
146 |
theme="default", # You can choose other themes if desired
|
147 |
-
allow_flagging="never"
|
148 |
-
|
149 |
)
|
150 |
|
151 |
if __name__ == "__main__":
|
|
|
144 |
description="Upload an image to detect objects using the ONNX model.",
|
145 |
examples=["examples/card1.jpg", "examples/card2.jpg", "examples/card3.jpg"],
|
146 |
theme="default", # You can choose other themes if desired
|
147 |
+
allow_flagging="never" # Disable flagging if not needed
|
148 |
+
# Removed 'layout' parameter
|
149 |
)
|
150 |
|
151 |
if __name__ == "__main__":
|