Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -413,12 +413,13 @@ def transform(input_data):
|
|
| 413 |
|
| 414 |
return magnitude, phase
|
| 415 |
|
| 416 |
-
|
|
|
|
| 417 |
|
| 418 |
# Create an instance of the FastAPI class
|
| 419 |
-
app = main()
|
| 420 |
|
| 421 |
# Define a route for the root endpoint
|
| 422 |
-
|
| 423 |
-
def read_root():
|
| 424 |
-
|
|
|
|
| 413 |
|
| 414 |
return magnitude, phase
|
| 415 |
|
| 416 |
+
#if __name__ == "__main__":
|
| 417 |
+
main()
|
| 418 |
|
| 419 |
# Create an instance of the FastAPI class
|
| 420 |
+
#app = main()
|
| 421 |
|
| 422 |
# Define a route for the root endpoint
|
| 423 |
+
#@app.get("/")
|
| 424 |
+
#def read_root():
|
| 425 |
+
# return {"message": "Hello, World!"}
|