Madu Murugesh commited on
- api/app.py +2 -2
api/app.py
CHANGED
|
@@ -191,7 +191,7 @@ async def health_check():
|
|
| 191 |
return {"status": "healthy", "version": API_VERSION}
|
| 192 |
|
| 193 |
|
| 194 |
-
@app.
|
| 195 |
f"/api/{API_VERSION}/analyze/base64",
|
| 196 |
response_model=AnalysisResponse,
|
| 197 |
responses={
|
|
@@ -244,7 +244,7 @@ async def analyze_base64_audio(
|
|
| 244 |
)
|
| 245 |
|
| 246 |
|
| 247 |
-
@app.
|
| 248 |
f"/api/{API_VERSION}/analyze/file",
|
| 249 |
response_model=AnalysisResponse,
|
| 250 |
responses={
|
|
|
|
| 191 |
return {"status": "healthy", "version": API_VERSION}
|
| 192 |
|
| 193 |
|
| 194 |
+
@app.post(
|
| 195 |
f"/api/{API_VERSION}/analyze/base64",
|
| 196 |
response_model=AnalysisResponse,
|
| 197 |
responses={
|
|
|
|
| 244 |
)
|
| 245 |
|
| 246 |
|
| 247 |
+
@app.post(
|
| 248 |
f"/api/{API_VERSION}/analyze/file",
|
| 249 |
response_model=AnalysisResponse,
|
| 250 |
responses={
|