Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@ import torch
|
|
| 4 |
|
| 5 |
|
| 6 |
title = "EZChat"
|
| 7 |
-
description = "A State-of-the-Art Large-scale Pretrained Response generation model (
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
| 11 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 12 |
-
model = AutoModelForCausalLM.from_pretrained("
|
| 13 |
|
| 14 |
|
| 15 |
def predict(input, history=[]):
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
title = "EZChat"
|
| 7 |
+
description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT-small)"
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
| 11 |
+
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-small")
|
| 12 |
+
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-small")
|
| 13 |
|
| 14 |
|
| 15 |
def predict(input, history=[]):
|