Gregniuki commited on
Commit
3de8408
1 Parent(s): 0c43594

Update app.py

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