Spaces:
Sleeping
Sleeping
Commit
·
91195cf
1
Parent(s):
c18cd75
removed status code 500 in response when error key is present
Browse files- ASR_Server.py +1 -1
ASR_Server.py
CHANGED
|
@@ -295,7 +295,7 @@ def api():
|
|
| 295 |
'error': error_msg,
|
| 296 |
'error_trace': error_trace,
|
| 297 |
'status': job_status,
|
| 298 |
-
})
|
| 299 |
|
| 300 |
response = jsonify({
|
| 301 |
'message': f'Given Model {model} is being Evaluated, Please come back after a few hours and run the query again. Usually, it completes within an hour'
|
|
|
|
| 295 |
'error': error_msg,
|
| 296 |
'error_trace': error_trace,
|
| 297 |
'status': job_status,
|
| 298 |
+
})
|
| 299 |
|
| 300 |
response = jsonify({
|
| 301 |
'message': f'Given Model {model} is being Evaluated, Please come back after a few hours and run the query again. Usually, it completes within an hour'
|