Spaces:
Runtime error
Runtime error
Commit
·
12e5fcc
1
Parent(s):
0ae3a5e
Updated: constants
Browse files- app/utils/common.py +0 -1
- app/utils/constants.py +2 -0
app/utils/common.py
CHANGED
@@ -15,7 +15,6 @@ def get_doc(text):
|
|
15 |
except OSError as ex:
|
16 |
logger.exception("Error while getting Spacy doc: ", str(ex))
|
17 |
logger.info("Please download the model with this command: python -m spacy download en_core_web_sm")
|
18 |
-
os.
|
19 |
|
20 |
|
21 |
# Convert MP3 to WAV using pydub
|
|
|
15 |
except OSError as ex:
|
16 |
logger.exception("Error while getting Spacy doc: ", str(ex))
|
17 |
logger.info("Please download the model with this command: python -m spacy download en_core_web_sm")
|
|
|
18 |
|
19 |
|
20 |
# Convert MP3 to WAV using pydub
|
app/utils/constants.py
CHANGED
@@ -13,3 +13,5 @@ STATIC_DIR = os.path.join(BASE_PATH, "app", "static")
|
|
13 |
|
14 |
API_READINESS = "/readiness"
|
15 |
API_LIVENESS = "/liveness"
|
|
|
|
|
|
13 |
|
14 |
API_READINESS = "/readiness"
|
15 |
API_LIVENESS = "/liveness"
|
16 |
+
OPENAPI_URL = API_BASE + "openapi.json"
|
17 |
+
DOCS_URL = API_BASE
|