Spaces:
Runtime error
Runtime error
Commit
•
107e5b8
1
Parent(s):
ae16855
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def answer_question(
|
|
20 |
top_p=0.75,
|
21 |
top_k=40,
|
22 |
num_beams=2,
|
23 |
-
do_sample=True
|
24 |
**kwargs,
|
25 |
):
|
26 |
inputs = tokenizer(prompt, return_tensors="pt")
|
|
|
20 |
top_p=0.75,
|
21 |
top_k=40,
|
22 |
num_beams=2,
|
23 |
+
do_sample=True,
|
24 |
**kwargs,
|
25 |
):
|
26 |
inputs = tokenizer(prompt, return_tensors="pt")
|