Gregniuki commited on
Commit
3f55ab3
·
1 Parent(s): 1a40ad2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,7 +76,7 @@ def detect_onnx_models(path):
76
  return None
77
 
78
 
79
- def main():
80
  """Main entry point"""
81
  sys.path.append('./content/piper/src/python')
82
  models_path = "./content/piper/src/python"
@@ -414,7 +414,7 @@ def transform(input_data):
414
  return magnitude, phase
415
 
416
  if __name__ == "__main__":
417
- main()
418
 
419
  # Create an instance of the FastAPI class
420
  #app = main()
 
76
  return None
77
 
78
 
79
+ def app():
80
  """Main entry point"""
81
  sys.path.append('./content/piper/src/python')
82
  models_path = "./content/piper/src/python"
 
414
  return magnitude, phase
415
 
416
  if __name__ == "__main__":
417
+ app()
418
 
419
  # Create an instance of the FastAPI class
420
  #app = main()