Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
remove skip functionality since script is now interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
smallketchup82 committed Nov 4, 2023
1 parent 09e9945 commit 5008ade
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
parser.add_argument("-v", "--verbose", help="Verbose mode", action="store_true")
parser.add_argument("--dump", help="Dump the entire processed text into a file", action="store_true")
parser.add_argument("-f", "--force", help="Overwrite the output file if it already exists", action="store_true")
parser.add_argument("-s", "--skip", help="Skip the countdown (Not recommended)", action="store_true")
parser.add_argument("--dry-run", help="Don't actually summarize anything", action="store_true")
parser.add_argument("--api-key", type=str, help="OpenAI API key. If not specified, will use the OPENAI_API_KEY environment variable", default=None)
parser.add_argument("--org", type=str, help="OpenAI organization. If not specified, will use the OPENAI_ORG environment variable", default=None)
Expand Down Expand Up @@ -99,10 +98,6 @@
print("Dumped processed text to file")
exit()

if not args.skip:
print("Starting summarization in 5 seconds...\nPlease terminate now (Ctrl+C) if unintended.")
time.sleep(5)

def summarize(i):
"""Summarizer process. Not meant to be called directly.
Expand Down

0 comments on commit 5008ade

Please sign in to comment.