Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def detect_onnx_models(path):
|
|
76 |
return None
|
77 |
|
78 |
|
79 |
-
def
|
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 |
-
|
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()
|