Skip to content

Commit

Permalink
Update subgen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
McCloudS authored Feb 11, 2024
1 parent 5f93f35 commit b15a42e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion subgen/subgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ def convert_to_bool(in_bool):
subextensionSDH = f".subgen.{whisper_model.split('.')[0]}.{namesublang}.sdh.srt"

if debug:
logging.basicConfig(stream=sys.stderr, level=logging.NOTSET)
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
else:
logging.basicConfig(stream=sys.stderr, level=logging.INFO)

logging.getLogger("multipart").setLevel(logging.WARNING)
logging.getLogger("urllib3").setLevel(logging.WARNING)

@app.get("/plex")
@app.get("/webhook")
@app.get("/jellyfin")
Expand Down

0 comments on commit b15a42e

Please sign in to comment.