Skip to content

Commit

Permalink
rm docstring and update arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
deven367 committed Sep 5, 2024
1 parent 14ac649 commit 99991e8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ttf/talk.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,8 @@ def chat_with_file(path: str, prompt:str) -> str:
@click.command()
@click.option("--file", "-f", type=click.Path(exists=True), required=True)
@click.option("--prompt", "-pr", type=str, default="Summarize the following text")
def main(pdf, prompt):
"""_summary_
Args:
pdf (_type_): _description_
prompt (_type_): _description_
"""
chat_with_file(pdf, prompt)
def main(file, prompt):
chat_with_file(file, prompt)

if __name__ == "__main__":
main()

0 comments on commit 99991e8

Please sign in to comment.