Eric P. Nusbaum commited on
Commit
272be86
·
1 Parent(s): 2839c47

Update to use ONNX

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", # Disable flagging if not needed
148
- layout="horizontal" # Display outputs side by side
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__":