Gregniuki commited on
Commit
2f5c596
1 Parent(s): eab6b47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -37,7 +37,7 @@ if not os.path.exists("/content/piper/src/python/lng"):
37
 
38
  import sys
39
  #sys.path.append('/content/piper/notebooks')
40
- sys.path.append('/content/piper/src/python')
41
  import configparser
42
 
43
  class Translator:
@@ -78,8 +78,8 @@ def detect_onnx_models(path):
78
 
79
  def main():
80
  """Main entry point"""
81
- sys.path.append('/content/piper/src/python')
82
- models_path = "/content/piper/src/python"
83
  logging.basicConfig(level=logging.DEBUG)
84
  providers = [
85
  "CPUExecutionProvider"
 
37
 
38
  import sys
39
  #sys.path.append('/content/piper/notebooks')
40
+ sys.path.append('./content/piper/src/python')
41
  import configparser
42
 
43
  class Translator:
 
78
 
79
  def main():
80
  """Main entry point"""
81
+ sys.path.append('./content/piper/src/python')
82
+ models_path = "./content/piper/src/python"
83
  logging.basicConfig(level=logging.DEBUG)
84
  providers = [
85
  "CPUExecutionProvider"