WYXZANDER
WYXZANDER

Reputation: 73

Google Colab Text Wrapping Assistance

I am new to coding and would greatly appreciate your guys' help. I'd like to be able to wrap this text, but I am unsure as to how.

gpt2.generate(sess,
      length=500,
      temperature=1.01,
      prefix="Mutko went on to add that '",
      nsamples=10,
      batch_size=10,

Upvotes: 2

Views: 1876

Answers (1)

Bucks Ball
Bucks Ball

Reputation: 108

I suggest using pprint or textwrap.

Upvotes: 4

Related Questions