ttj commited on
Commit
b9010b8
1 Parent(s): 4831d79
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def get_pipe(name):
10
  model_names = ['bigscience/T0_3B','bigscience/T0'] #, 'bigscience/T0p', 'bigscience/T0pp']
11
 
12
  pipes = [get_pipe(name) for name in model_names]
13
- def fn(text, do_sample, min_length, max_length, temperature, top_p, pipe):
14
  out = pipe(
15
  text,
16
  do_sample=do_sample,
10
  model_names = ['bigscience/T0_3B','bigscience/T0'] #, 'bigscience/T0p', 'bigscience/T0pp']
11
 
12
  pipes = [get_pipe(name) for name in model_names]
13
+ def _fn(text, do_sample, min_length, max_length, temperature, top_p, pipe):
14
  out = pipe(
15
  text,
16
  do_sample=do_sample,