Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def generate_text(input_text, max_new_tokens, temperature, top_p, split_output):
|
|
21 |
if split_output:
|
22 |
max_new_tokens=30
|
23 |
top_p=0.95
|
24 |
-
output =
|
25 |
input_text,
|
26 |
max_new_tokens=max_new_tokens,
|
27 |
temperature=temperature,
|
|
|
21 |
if split_output:
|
22 |
max_new_tokens=30
|
23 |
top_p=0.95
|
24 |
+
output = gen_pipeline(
|
25 |
input_text,
|
26 |
max_new_tokens=max_new_tokens,
|
27 |
temperature=temperature,
|