Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import scipy.io.wavfile as wavfile
|
|
| 8 |
# _ESPEAK_LIBRARY = '/opt/homebrew/Cellar/espeak/1.48.04_1/lib/libespeak.1.1.48.dylib' #use the Path to the library.
|
| 9 |
# EspeakWrapper.set_library(_ESPEAK_LIBRARY)
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
# object_detector_model_path = "../Models/models--facebook--detr-resnet-50/snapshots/1d5f47bd3bdd2c4bbfa585418ffe6da5028b4c0b"
|
| 14 |
|
|
|
|
| 8 |
# _ESPEAK_LIBRARY = '/opt/homebrew/Cellar/espeak/1.48.04_1/lib/libespeak.1.1.48.dylib' #use the Path to the library.
|
| 9 |
# EspeakWrapper.set_library(_ESPEAK_LIBRARY)
|
| 10 |
|
| 11 |
+
object_detector = pipeline("object-detection", model="facebook/detr-resnet-50")
|
| 12 |
|
| 13 |
# object_detector_model_path = "../Models/models--facebook--detr-resnet-50/snapshots/1d5f47bd3bdd2c4bbfa585418ffe6da5028b4c0b"
|
| 14 |
|