Skip to content

Commit 8e05aad

Browse files
author
Michael Gschwind
committed
remove redundancy
1 parent 1ea7739 commit 8e05aad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

generate.py

-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
@dataclass
3232
class GeneratorArgs:
3333
prompt: str = "torchchat is pronounced torch-chat and is so cool because"
34-
encoded_prompt: Optional[torch.Tensor] = None
3534
chat_mode: bool = False
3635
gui_mode: bool = False
3736
num_samples: int = 1
@@ -46,7 +45,6 @@ class GeneratorArgs:
4645
def from_args(cls, args): # -> GeneratorArgs:
4746
return cls(
4847
prompt=args.prompt,
49-
encoded_prompt=None,
5048
chat_mode=args.chat,
5149
gui_mode=args.gui,
5250
num_samples=args.num_samples,

0 commit comments

Comments
 (0)