Spaces:
Running
on
Zero
Running
on
Zero
app.py
CHANGED
@@ -35,7 +35,7 @@ def generate(paper_text):
|
|
35 |
).to(model.device)
|
36 |
|
37 |
generated_ids = model.generate(
|
38 |
-
|
39 |
max_new_tokens=256
|
40 |
)
|
41 |
generated_ids = [
|
|
|
35 |
).to(model.device)
|
36 |
|
37 |
generated_ids = model.generate(
|
38 |
+
input_ids=model_inputs,
|
39 |
max_new_tokens=256
|
40 |
)
|
41 |
generated_ids = [
|