Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ pipeline=transformers.pipeline(
|
|
16 |
torch_dtype=torch.bfloat16,
|
17 |
trust_remote_code=True,
|
18 |
device_map="auto",
|
19 |
-
max_length=
|
20 |
do_sample=True,
|
21 |
top_k=10,
|
22 |
num_return_sequences=1,
|
|
|
16 |
torch_dtype=torch.bfloat16,
|
17 |
trust_remote_code=True,
|
18 |
device_map="auto",
|
19 |
+
max_length=64,
|
20 |
do_sample=True,
|
21 |
top_k=10,
|
22 |
num_return_sequences=1,
|