Spaces:
Sleeping
Sleeping
Commit
·
7b71091
1
Parent(s):
773e47e
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,12 @@ import torch
|
|
| 4 |
|
| 5 |
|
| 6 |
title = "🤖AI ChatBot"
|
| 7 |
-
description = "
|
| 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 = "🤖AI ChatBot"
|
| 7 |
+
description = "Building open-domain chatbots is a challenging area for machine learning research."
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
| 11 |
+
tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
|
| 12 |
+
model = AutoModelForCausalLM.from_pretrained("facebook/blenderbot-400M-distill")
|
| 13 |
|
| 14 |
|
| 15 |
def predict(input, history=[]):
|