forked from seasalt-ai/snowboy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved pmdl model wrapper to pmdl folder
- Loading branch information
1 parent
d2a65f4
commit e837c7f
Showing
8 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import os | ||
import sys | ||
import platform | ||
|
||
if platform.system() == "Darwin": | ||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/osx/pmdl")) | ||
from snowboy import * | ||
elif platform.linux_distribution()[0] == "Ubuntu" and platform.linux_distribution()[1] == "16.04": | ||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/ubuntu64/pmdl")) | ||
from snowboy import * | ||
else: | ||
raise ImportError("pmdl generator only runs on OSX or Ubuntu 16.04.") |
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.