Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,13 @@ import gradio as gr
|
|
5 |
import torch
|
6 |
|
7 |
|
8 |
-
title = "
|
9 |
description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)"
|
10 |
examples = [["How are you?"]]
|
11 |
|
12 |
|
13 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
14 |
-
model = AutoModelForCausalLM.from_pretrained("
|
15 |
|
16 |
|
17 |
def predict(input, history=[]):
|
|
|
5 |
import torch
|
6 |
|
7 |
|
8 |
+
title = "IEEE CIS Summer School - 2023"
|
9 |
description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)"
|
10 |
examples = [["How are you?"]]
|
11 |
|
12 |
|
13 |
+
tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")
|
14 |
+
model = AutoModelForCausalLM.from_pretrained("facebook/blenderbot-400M-distill")
|
15 |
|
16 |
|
17 |
def predict(input, history=[]):
|