Commit ·
84ec51f
1
Parent(s): 58966c7
update file 038
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def generate_ticket():
|
|
| 84 |
issue=issue
|
| 85 |
)
|
| 86 |
|
| 87 |
-
raw = generator(prompt,max_new_tokens=
|
| 88 |
|
| 89 |
# Strip the prompt itself, leaving only the new content
|
| 90 |
if raw.startswith(prompt):
|
|
|
|
| 84 |
issue=issue
|
| 85 |
)
|
| 86 |
|
| 87 |
+
raw = generator(prompt,max_new_tokens=200,do_sample=True)[0]["generated_text"]
|
| 88 |
|
| 89 |
# Strip the prompt itself, leaving only the new content
|
| 90 |
if raw.startswith(prompt):
|