Skip to content

Commit

Permalink
remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gschwind committed Apr 17, 2024
1 parent 1ea7739 commit 8e05aad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
@dataclass
class GeneratorArgs:
prompt: str = "torchchat is pronounced torch-chat and is so cool because"
encoded_prompt: Optional[torch.Tensor] = None
chat_mode: bool = False
gui_mode: bool = False
num_samples: int = 1
Expand All @@ -46,7 +45,6 @@ class GeneratorArgs:
def from_args(cls, args): # -> GeneratorArgs:
return cls(
prompt=args.prompt,
encoded_prompt=None,
chat_mode=args.chat,
gui_mode=args.gui,
num_samples=args.num_samples,
Expand Down

0 comments on commit 8e05aad

Please sign in to comment.