Reacher commited on
Commit
5a960dd
·
1 Parent(s): 64d176e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  from ultralytics import YOLO
5
 
6
  model = YOLO('best.pt')
7
- path = [['image.jpg']]
8
  classes = ['ain', 'al', 'aleff','bb','dal','dha','dhad','fa','gaaf','ghain','ha','haa','jeem','kaaf','khaa','la','laam',
9
  'meem','nun','ra','saad','seen','sheen','ta','taa','thaa','thal','toot','waw','ya','yaa','zay']
10
  TargetMapper = dict(zip(range(32),classes))
@@ -42,4 +42,4 @@ gr.Interface(
42
  title="Arab Sign Language Detection app",
43
  examples=path,
44
  cache_examples=False,
45
- ).queue().launch()
 
4
  from ultralytics import YOLO
5
 
6
  model = YOLO('best.pt')
7
+ path = ['image.jpg']
8
  classes = ['ain', 'al', 'aleff','bb','dal','dha','dhad','fa','gaaf','ghain','ha','haa','jeem','kaaf','khaa','la','laam',
9
  'meem','nun','ra','saad','seen','sheen','ta','taa','thaa','thal','toot','waw','ya','yaa','zay']
10
  TargetMapper = dict(zip(range(32),classes))
 
42
  title="Arab Sign Language Detection app",
43
  examples=path,
44
  cache_examples=False,
45
+ ).launch()