Spaces:
Sleeping
Sleeping
Komal-patra
commited on
Commit
•
90acfea
1
Parent(s):
698454f
update
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def generate_text(prompt, max_length=512):
|
|
31 |
num_beams=1,
|
32 |
repetition_penalty=2.2
|
33 |
)
|
|
|
34 |
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
35 |
return generated_text
|
36 |
|
|
|
31 |
num_beams=1,
|
32 |
repetition_penalty=2.2
|
33 |
)
|
34 |
+
print(outputs)
|
35 |
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
36 |
return generated_text
|
37 |
|