Skip to content

Commit

Permalink
finally a good one 1
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkemgoknar committed Dec 19, 2020
1 parent 9d905de commit aeacf18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/moviepersonafile.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def tokenize(obj):
personality = random.choice(personalities)

##TALK TO HAL
personality_hal = ["that's true. my name is hal"]
personality = tokenize(personality_hal)
print(personality)
#personality_hal = ["that's true. my name is hal"]
#personality = tokenize(personality_hal)
#print(personality)

logger.info("Selected personality: %s", tokenizer.decode(chain(*personality)))

Expand Down

0 comments on commit aeacf18

Please sign in to comment.