Skip to content

Commit

Permalink
Cleanups to amazon lambda handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaknelson committed Jul 7, 2016
1 parent 5a98308 commit 71f4606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def generate(numSentences):
return bestSentences

def amazon_lambda_handler(event, context):
return generate(min(100, event.count))
return generate(5)

if __name__ == "__main__":
print generate(1)[0]

0 comments on commit 71f4606

Please sign in to comment.