Spaces:
Runtime error
Runtime error
Isaacyn commited on
Commit ·
3a26a04
1
Parent(s): 9f64841
fix model path for docker
Browse files
main.py
CHANGED
|
@@ -22,7 +22,7 @@ app.add_middleware(
|
|
| 22 |
allow_headers=["*"],
|
| 23 |
)
|
| 24 |
|
| 25 |
-
MODEL_DIR = "
|
| 26 |
pipeline = ASRPipeline(MODEL_DIR)
|
| 27 |
|
| 28 |
@app.get("/")
|
|
|
|
| 22 |
allow_headers=["*"],
|
| 23 |
)
|
| 24 |
|
| 25 |
+
MODEL_DIR = "/app/models"
|
| 26 |
pipeline = ASRPipeline(MODEL_DIR)
|
| 27 |
|
| 28 |
@app.get("/")
|