Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,10 +9,10 @@ mdl = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")
|
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
|
| 18 |
def converse(user_input, chat_history=[]):
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
+
chat_tkn = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
|
| 13 |
|
| 14 |
|
| 15 |
+
mdl = BlenderbotForConditionalGeneration.from_pretrained("facebook/blenderbot-400M-distill")
|
| 16 |
|
| 17 |
|
| 18 |
def converse(user_input, chat_history=[]):
|