eeshawn commited on
Commit
940bd9c
·
1 Parent(s): 71c54af

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,10 +1,9 @@
1
  import gradio as gr
2
  import torch
3
  from ultralyticsplus import YOLO, render_result
4
- import os
5
 
6
  yolo_model = YOLO('eeshawn11/naruto_hand_seal_detection')
7
- yolo_model.overrides['max_det'] = 10
8
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
9
  yolo_model.to(device)
10
 
 
1
  import gradio as gr
2
  import torch
3
  from ultralyticsplus import YOLO, render_result
 
4
 
5
  yolo_model = YOLO('eeshawn11/naruto_hand_seal_detection')
6
+ yolo_model.overrides['max_det'] = 20
7
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
8
  yolo_model.to(device)
9