mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
16f507fba0
commit
c7ba2c7755
1 file changed
+3
-1
+3
-1
@@ -139,7 +139,9 @@ def handle_get_request(request: Request):
|
|||||||
|
|
||||||
@app.get("/status")
|
@app.get("/status")
|
||||||
def status():
|
def status():
|
||||||
return {"version" : f"Subgen {subgen_version}, stable-ts {stable_whisper.__version__}, whisper {whisper.__version__}"}
|
in_docker = os.path.exists('/.dockerenv')
|
||||||
|
docker_status = "Docker" if in_docker else "Standalone"
|
||||||
|
return {"version" : f"{docker_status} Subgen {subgen_version}, stable-ts {stable_whisper.__version__}, whisper {whisper.__version__}"}
|
||||||
|
|
||||||
@app.post("/tautulli")
|
@app.post("/tautulli")
|
||||||
def receive_tautulli_webhook(
|
def receive_tautulli_webhook(
|
||||||
|
|||||||
Reference in new issue
Block a user