carlosabadia commited on
Commit
dc92202
·
1 Parent(s): edd6def

fix opencv2

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -73,7 +73,8 @@ def main():
73
  with gr.Row():
74
  input_board = gr.Image(label='Board',
75
  type='filepath',
76
- interactive=True,)
 
77
  with gr.Row():
78
  crop_board_button = gr.Button('Crop Board ✂️')
79
  with gr.Row():
 
73
  with gr.Row():
74
  input_board = gr.Image(label='Board',
75
  type='filepath',
76
+ interactive=True,
77
+ placeholder="examples/")
78
  with gr.Row():
79
  crop_board_button = gr.Button('Crop Board ✂️')
80
  with gr.Row():
requirements.txt CHANGED
@@ -2,4 +2,4 @@ torch==1.12.1
2
  torchvision==0.13.1
3
  gradio==3.1.4
4
  tensorflow==2.5.0
5
- cv2==4.6.0
 
2
  torchvision==0.13.1
3
  gradio==3.1.4
4
  tensorflow==2.5.0
5
+ python3-opencv