Spaces:
Sleeping
Sleeping
123ABC123456
commited on
Commit
•
a29fa9c
1
Parent(s):
e8a1ec7
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ examples = [["How are you?"]]
|
|
11 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
|
12 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
|
13 |
|
14 |
-
|
15 |
def predict(input, history=[]):
|
16 |
# tokenize the new input sentence
|
17 |
new_user_input_ids = tokenizer.encode(
|
|
|
11 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
|
12 |
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
|
13 |
|
14 |
+
|
15 |
def predict(input, history=[]):
|
16 |
# tokenize the new input sentence
|
17 |
new_user_input_ids = tokenizer.encode(
|