MesonWarrior commited on
Commit
44fbf06
1 Parent(s): 0933f21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,8 +8,8 @@ def generate_text(
8
  model,
9
  text,
10
  min_length,
11
- max_length,
12
- do_not_truncate,
13
  ):
14
  pipe = pipeline(
15
  'text-generation',
@@ -67,7 +67,7 @@ def interface():
67
  text,
68
  min_length,
69
  max_length,
70
- do_not_truncate
71
  ],
72
  outputs=output,
73
  )
 
8
  model,
9
  text,
10
  min_length,
11
+ max_length
12
+ # do_not_truncate
13
  ):
14
  pipe = pipeline(
15
  'text-generation',
 
67
  text,
68
  min_length,
69
  max_length,
70
+ # do_not_truncate
71
  ],
72
  outputs=output,
73
  )