Commit ·
8efe78a
1
Parent(s): 2cbe478
clean up
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -275,7 +275,7 @@ class EndpointHandler:
|
|
| 275 |
first_text = segments[0]["text"]
|
| 276 |
except:
|
| 277 |
logger.warning("No transcription")
|
| 278 |
-
return {"transcription":
|
| 279 |
|
| 280 |
# get the execution time
|
| 281 |
et = time.time()
|
|
|
|
| 275 |
first_text = segments[0]["text"]
|
| 276 |
except:
|
| 277 |
logger.warning("No transcription")
|
| 278 |
+
return {"transcription": segments}
|
| 279 |
|
| 280 |
# get the execution time
|
| 281 |
et = time.time()
|