Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,13 +65,13 @@ from huggingface_hub import hf_hub_download
|
|
| 65 |
from gradio_webrtc import WebRTC
|
| 66 |
from twilio.rest import Client
|
| 67 |
import os
|
| 68 |
-
from inference import
|
| 69 |
|
| 70 |
model_file = hf_hub_download(
|
| 71 |
-
repo_id="
|
| 72 |
)
|
| 73 |
|
| 74 |
-
model =
|
| 75 |
|
| 76 |
account_sid = os.environ.get("TWILIO_ACCOUNT_SID")
|
| 77 |
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|
|
|
|
| 65 |
from gradio_webrtc import WebRTC
|
| 66 |
from twilio.rest import Client
|
| 67 |
import os
|
| 68 |
+
from inference import YOLOv8
|
| 69 |
|
| 70 |
model_file = hf_hub_download(
|
| 71 |
+
repo_id="aje6/ASL-Fingerspelling-Detection", filename="onnx/Model_IV.onnx"
|
| 72 |
)
|
| 73 |
|
| 74 |
+
model = YOLOv8(model_file)
|
| 75 |
|
| 76 |
account_sid = os.environ.get("TWILIO_ACCOUNT_SID")
|
| 77 |
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|