Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ description = "A State-of-the-Art Large-scale Pretrained Response generation mod
|
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
| 11 |
-
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
|
| 12 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
|
| 13 |
|
| 14 |
|
|
|
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
| 11 |
+
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large", padding_side='left')
|
| 12 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
|
| 13 |
|
| 14 |
|