feat: ASL
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from ultralytics import YOLO
|
3 |
import speech_recognition as sr
|
4 |
|
5 |
-
model = YOLO('
|
6 |
|
7 |
def proses_image(image):
|
8 |
results = model(image)
|
@@ -34,7 +34,7 @@ with gr.Blocks() as demo:
|
|
34 |
with gr.Row(visible=True) as gambar:
|
35 |
gr.Interface(
|
36 |
fn=proses_image,
|
37 |
-
inputs=gr.Image(
|
38 |
outputs=gr.Image(),
|
39 |
live=True
|
40 |
)
|
|
|
2 |
from ultralytics import YOLO
|
3 |
import speech_recognition as sr
|
4 |
|
5 |
+
model = YOLO('best.pt')
|
6 |
|
7 |
def proses_image(image):
|
8 |
results = model(image)
|
|
|
34 |
with gr.Row(visible=True) as gambar:
|
35 |
gr.Interface(
|
36 |
fn=proses_image,
|
37 |
+
inputs=gr.Image(),
|
38 |
outputs=gr.Image(),
|
39 |
live=True
|
40 |
)
|
best.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c6d1c4eef7f0f0f95941dc5cded6798ef363d0cff00d87b2b523299ff5f69db
|
3 |
+
size 6413953
|